blob: ef0137f4cd6f51ba316f85f0356fd70b2e8e6e99 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; this should not crash the ppc backend
2
3; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
4
5uint %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