forked from OSchip/llvm-project
testcase that crashed the ppc backend, distilled from crafty
llvm-svn: 22770
This commit is contained in:
parent
8447b49526
commit
f6a762ada1
|
@ -0,0 +1,12 @@
|
|||
; this should not crash the ppc backend
|
||||
|
||||
; RUN: llvm-as < %s | llc -march=ppc32
|
||||
|
||||
uint %test( int %j.0.0.i) {
|
||||
%tmp.85.i = and int %j.0.0.i, 7
|
||||
%tmp.161278.i = cast int %tmp.85.i to uint
|
||||
%tmp.5.i77.i = shr uint %tmp.161278.i, ubyte 3
|
||||
ret uint %tmp.5.i77.i
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue