diff options
Diffstat (limited to 'test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll')
-rw-r--r-- | test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll b/test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll new file mode 100644 index 000000000000..c8dafd166299 --- /dev/null +++ b/test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll @@ -0,0 +1,7 @@ +; 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 +} |