mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 04:45:00 +00:00
testcase that crashes the ppc backend, which can't sextinreg(i1)
llvm-svn: 28016
This commit is contained in:
parent
a33feb51db
commit
6b7d67bb51
@ -0,0 +1,10 @@
|
||||
; RUN: llvm-as < %s | llc
|
||||
|
||||
int %test(int %tmp93) {
|
||||
%tmp98 = shl int %tmp93, ubyte 31 ; <int> [#uses=1]
|
||||
%tmp99 = shr int %tmp98, ubyte 31 ; <int> [#uses=1]
|
||||
%tmp99 = cast int %tmp99 to sbyte ; <sbyte> [#uses=1]
|
||||
%tmp99100 = cast sbyte %tmp99 to int ; <int> [#uses=1]
|
||||
ret int %tmp99100
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user