From: Chris Lattner Date: Wed, 29 Nov 2006 07:17:32 +0000 (+0000) Subject: new testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6478b2fcd1e8756e75af088d9c6631caa123fbf9;p=oota-llvm.git new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32010 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index 5a82f5e8c80..32b62158bc4 100644 --- a/test/Transforms/InstCombine/cast.ll +++ b/test/Transforms/InstCombine/cast.ll @@ -219,3 +219,10 @@ ushort %test34(ushort %a) { ret ushort %c2 } +ushort %test35(ushort %a) { + %c1 = bitcast ushort %a to short + %tmp2 = lshr short %c1, ubyte 8 + %c2 = bitcast short %tmp2 to ushort + ret ushort %c2 +} +