llvm.org GIT mirror llvm / bf93414
Make this test harder, always check generic x86 and SSE-enabled x86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27295 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 14 years ago
1 changed file(s) with 10 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 ; Test that vectors are scalarized/lowered correctly.
11 ; RUN: llvm-as < %s | llc &&
22 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 &&
3 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g3
3 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g3 &&
4 ; RUN: llvm-as < %s | llc -march=x86 -mcpu=i386 &&
5 ; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah
46
57 %f1 = type <1 x float>
68 %f2 = type <2 x float>
79 %f4 = type <4 x float>
810 %i4 = type <4 x int>
911 %f8 = type <8 x float>
12 %d8 = type <8 x double>
1013
1114 implementation
1215
98101 ret float %R
99102 }
100103
104 double %test_extract_elt2(%d8 *%P) {
105 %p = load %d8* %P
106 %R = extractelement %d8 %p, uint 3
107 ret double %R
108 }
109
101110 void %test_cast_1(<4 x float>* %b, <4 x int>* %a) {
102111 %tmp = load <4 x float>* %b
103112 %tmp2 = add <4 x float> %tmp,