2007-03-22 00:49:40 +00:00
|
|
|
; For PR1248
|
2009-09-09 00:09:15 +00:00
|
|
|
; RUN: opt < %s -instcombine -S | grep {ugt i32 .*, 11}
|
2007-03-22 00:49:40 +00:00
|
|
|
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
|
|
|
|
}
|