; For PR1248
; RUN: llvm-as %s -o - | opt -instcombine | llvm-dis | grep 'ugt i32 %tmp6, 11'
define i1 @test(i32 %tmp6) {
  %tmp7 = sdiv i32 %tmp6, 12     ; <i32> [#uses=1]
  icmp ne i32 %tmp7, -6           ; <i1>:1 [#uses=1]
  ret i1 %1
}

; For PR1248
; RUN: llvm-as %s -o - | opt -instcombine | llvm-dis | grep 'ugt i32 .*, 11'
define i1 @test(i32 %tmp6) {
  %tmp7 = sdiv i32 %tmp6, 12     ; <i32> [#uses=1]
  icmp ne i32 %tmp7, -6           ; <i1>:1 [#uses=1]
  ret i1 %1
}

Make this test actually match the generated code.
Make this test actually match the generated code.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@35263 91177308-0d34-0410-b5e6-96231b3b80d8
