blob: ef0137f4cd6f51ba316f85f0356fd70b2e8e6e99 [file] [log] [blame]
Chris Lattner7e03c742005-08-12 23:34:03 +00001; this should not crash the ppc backend
2
Reid Spencer69ccadd2006-12-02 04:23:10 +00003; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
Chris Lattner7e03c742005-08-12 23:34:03 +00004
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