From 6478b2fcd1e8756e75af088d9c6631caa123fbf9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 29 Nov 2006 07:17:32 +0000 Subject: [PATCH] new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32010 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/cast.ll | 7 +++++++ 1 file changed, 7 insertions(+) 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 +} + -- 2.34.1