Taints upcoming store and adds bogus conditional branches else where. Now as a separa...
[oota-llvm.git] / test / CodeGen / X86 / vec_logical.ll
index cf45a4a67091f034b5f12df5b9bc734b4c6b9c16..6ab2d8963abdd37e5e927d5de2b80e2cbb9fa28a 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep xorps | count 2
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep andnps
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movaps | count 2
+; RUN: llc < %s -march=x86 -mattr=+sse2 > %t
+; RUN: grep xorps %t | count 2
+; RUN: grep andnps %t
+; RUN: grep movaps %t | count 2
 
 define void @t(<4 x float> %A) {
-       %tmp1277 = sub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, %A
+       %tmp1277 = fsub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, %A
        store <4 x float> %tmp1277, <4 x float>* null
        ret void
 }
@@ -29,7 +29,7 @@ entry:
 
 define void @t3(<4 x float> %a, <4 x float> %b, <4 x float>* %c, <4 x float>* %d) {
 entry:
-       %tmp3 = load <4 x float>* %c            ; <<4 x float>> [#uses=1]
+       %tmp3 = load <4 x float>, <4 x float>* %c               ; <<4 x float>> [#uses=1]
        %tmp11 = bitcast <4 x float> %a to <4 x i32>            ; <<4 x i32>> [#uses=1]
        %tmp12 = bitcast <4 x float> %b to <4 x i32>            ; <<4 x i32>> [#uses=1]
        %tmp13 = xor <4 x i32> %tmp11, < i32 -1, i32 -1, i32 -1, i32 -1 >               ; <<4 x i32>> [#uses=1]