Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / PowerPC / 2005-08-12-rlwimi-crash.ll
1 ; this should not crash the ppc backend
2
3 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
4
5 uint %test( int %j.0.0.i) {
6   %tmp.85.i = and int %j.0.0.i, 7
7   %tmp.161278.i = cast int %tmp.85.i to uint
8   %tmp.5.i77.i = shr uint %tmp.161278.i, ubyte 3
9   ret uint %tmp.5.i77.i
10 }
11
12