llvm.org GIT mirror llvm / 09d933f
new testcase for PR1371 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36786 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=i386 -mattr=+sse
1 ; PR1371
2
3 %str = external global [18 x sbyte]
4
5 void %test() {
6 bb.i:
7 %tmp.i660 = load <4 x float>* null
8 call void (int, ...)* %printf( int 0, sbyte* getelementptr ([18 x sbyte]* %str, int 0, uint 0), double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00 )
9 %tmp152.i = load <4 x uint>* null
10 %tmp156.i = cast <4 x uint> %tmp152.i to <4 x int>
11 %tmp175.i = cast <4 x float> %tmp.i660 to <4 x int>
12 %tmp176.i = xor <4 x int> %tmp156.i, < int -1, int -1, int -1, int -1 >
13 %tmp177.i = and <4 x int> %tmp176.i, %tmp175.i
14 %tmp190.i = or <4 x int> %tmp177.i, zeroinitializer
15 %tmp191.i = cast <4 x int> %tmp190.i to <4 x float>
16 store <4 x float> %tmp191.i, <4 x float>* null
17 ret void
18 }
19
20 declare void %printf(int, ...)