Merging r259740:
[oota-llvm.git] / test / CodeGen / PowerPC / 2005-08-12-rlwimi-crash.ll
1 ; this should not crash the ppc backend
2
3 ; RUN: llc < %s -march=ppc32
4
5
6 define i32 @test(i32 %j.0.0.i) {
7         %tmp.85.i = and i32 %j.0.0.i, 7         ; <i32> [#uses=1]
8         %tmp.161278.i = bitcast i32 %tmp.85.i to i32            ; <i32> [#uses=1]
9         %tmp.5.i77.i = lshr i32 %tmp.161278.i, 3                ; <i32> [#uses=1]
10         ret i32 %tmp.5.i77.i
11 }
12
13