mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 03:28:35 +00:00
4572ce85b0
llvm-svn: 33296
13 lines
280 B
LLVM
13 lines
280 B
LLVM
; this should not crash the ppc backend
|
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | 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
|
|
}
|
|
|
|
|