llvm.org GIT mirror llvm / 28bfa4e
testcase that crashes the ppc backend, which can't sextinreg(i1) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28016 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 14 years ago
1 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc
1
2 int %test(int %tmp93) {
3 %tmp98 = shl int %tmp93, ubyte 31 ; [#uses=1]
4 %tmp99 = shr int %tmp98, ubyte 31 ; [#uses=1]
5 %tmp99 = cast int %tmp99 to sbyte ; [#uses=1]
6 %tmp99100 = cast sbyte %tmp99 to int ; [#uses=1]
7 ret int %tmp99100
8 }
9