From: Chris Lattner Date: Sun, 18 Sep 2005 05:10:39 +0000 (+0000) Subject: new testcase X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ab4ea6e980a675b536006b123b78d6c994724af9;p=oota-llvm.git new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23380 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/shift.ll b/test/Transforms/InstCombine/shift.ll index 0834efcaf1a..d810e188c83 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 ; [#uses=1] + %tmp.5 = add uint %tmp.3, %x ; [#uses=1] + %tmp.6 = shl uint %tmp.5, ubyte 17 ; [#uses=1] + ret uint %tmp.6 +} +