llvm.org GIT mirror llvm / 6832780
new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31643 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 14 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwimi
1
2 void %test(short %div.0.i.i.i.i, int %L_num.0.i.i.i.i, int %tmp1.i.i206.i.i, short* %P) {
3 %X = shl short %div.0.i.i.i.i, ubyte 1 ; [#uses=1]
4 %tmp28.i.i.i.i = shl int %L_num.0.i.i.i.i, ubyte 1 ; [#uses=2]
5 %tmp31.i.i.i.i = setlt int %tmp28.i.i.i.i, %tmp1.i.i206.i.i ; [#uses=2]
6
7 %tmp31.i.i.i.i = cast bool %tmp31.i.i.i.i to short ; [#uses=1]
8 %tmp371.i.i.i.i1 = or short %tmp31.i.i.i.i, %X ; [#uses=1]
9 %div.0.be.i.i.i.i = xor short %tmp371.i.i.i.i1, 1 ; [#uses=1]
10 store short %div.0.be.i.i.i.i, short* %P
11 ret void
12 }
13