diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-19 22:32:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-19 22:32:52 +0000 |
commit | 5ae21fb23a55427738132a39c8df550c9c1d0771 (patch) | |
tree | c6eb6b32b7cc36629c9abb53e6974aafe6dbf32f /test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll | |
parent | 1ce9e00f8b449be9bcf34d16fadaacf074a16362 (diff) | |
download | llvm-5ae21fb23a55427738132a39c8df550c9c1d0771.tar.gz llvm-5ae21fb23a55427738132a39c8df550c9c1d0771.tar.bz2 llvm-5ae21fb23a55427738132a39c8df550c9c1d0771.tar.xz |
rename *.llx -> *.ll, last batch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll')
-rw-r--r-- | test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll b/test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll new file mode 100644 index 0000000000..ee4f62c8d5 --- /dev/null +++ b/test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep -- -65536 + +define i1 @test(i32 %tmp.124) { + %tmp.125 = shl i32 %tmp.124, 8 ; <i32> [#uses=1] + %tmp.126.mask = and i32 %tmp.125, -16777216 ; <i32> [#uses=1] + %tmp.128 = icmp eq i32 %tmp.126.mask, 167772160 ; <i1> [#uses=1] + ret i1 %tmp.128 +} + |