Yet another test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26266 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nate Begeman 2006-02-17 21:32:46 +00:00
parent d44d3d5fc3
commit 3bd5403920

View File

@ -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 ; <sbyte> [#uses=1]
%tmp.80 = cast sbyte %tmp.79 to int ; <int> [#uses=1]
%tmp.81 = shl int %tmp.80, ubyte 24 ; <int> [#uses=1]
ret int %tmp.81
}