llvm-project/llvm/test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll

8 lines
216 B
LLVM
Raw Normal View History

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