mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
testcase that crashed the ppc backend, distilled from crafty
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22770 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
12
test/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll
Normal file
12
test/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll
Normal file
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user