diff options
author | Chris Lattner <sabre@nondot.org> | 2005-09-18 05:10:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-09-18 05:10:39 +0000 |
commit | ab4ea6e980a675b536006b123b78d6c994724af9 (patch) | |
tree | b821f1255fd5842effe2d5d557f7989dcec4b6d5 | |
parent | c8e775679143dcdd7ba860d92f0a3bb2f4c4ae89 (diff) | |
download | external_llvm-ab4ea6e980a675b536006b123b78d6c994724af9.zip external_llvm-ab4ea6e980a675b536006b123b78d6c994724af9.tar.gz external_llvm-ab4ea6e980a675b536006b123b78d6c994724af9.tar.bz2 |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23380 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/shift.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/shift.ll b/test/Transforms/InstCombine/shift.ll index 0834efc..d810e18 100644 --- a/test/Transforms/InstCombine/shift.ll +++ b/test/Transforms/InstCombine/shift.ll @@ -172,3 +172,11 @@ sbyte %test24(sbyte %X) { ret sbyte %Q } +uint %test25(uint %tmp.2, uint %AA) { + %x = shr uint %AA, ubyte 17 + %tmp.3 = shr uint %tmp.2, ubyte 17 ; <uint> [#uses=1] + %tmp.5 = add uint %tmp.3, %x ; <uint> [#uses=1] + %tmp.6 = shl uint %tmp.5, ubyte 17 ; <uint> [#uses=1] + ret uint %tmp.6 +} + |