From: Chris Lattner Date: Wed, 29 Nov 2006 07:03:00 +0000 (+0000) Subject: new testcase X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=41e21031330eee2c692defac4518704579280a02 new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32008 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index 4accb47af2a..5a82f5e8c80 100644 --- a/test/Transforms/InstCombine/cast.ll +++ b/test/Transforms/InstCombine/cast.ll @@ -211,3 +211,11 @@ uint %test33(uint %c1) { %y = bitcast float %x to uint ret uint %y } + +ushort %test34(ushort %a) { + %c1 = zext ushort %a to int + %tmp21 = lshr int %c1, ubyte 8 + %c2 = trunc int %tmp21 to ushort + ret ushort %c2 +} +