From: Nate Begeman Date: Fri, 17 Feb 2006 21:32:46 +0000 (+0000) Subject: Yet another test X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3bd540392056be2000c921296711bb80ab1bd4aa;p=oota-llvm.git Yet another test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26266 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/PowerPC/shl_sext.ll b/test/CodeGen/PowerPC/shl_sext.ll new file mode 100644 index 00000000000..95ec2d29f62 --- /dev/null +++ b/test/CodeGen/PowerPC/shl_sext.ll @@ -0,0 +1,9 @@ +; This test should not contain a sign extend +; RUN: llvm-as < %s | llc -march=ppc32 | not grep extsb + +int %test(uint %mode.0.i.0) { + %tmp.79 = cast uint %mode.0.i.0 to sbyte ; [#uses=1] + %tmp.80 = cast sbyte %tmp.79 to int ; [#uses=1] + %tmp.81 = shl int %tmp.80, ubyte 24 ; [#uses=1] + ret int %tmp.81 +}