fix a missing shuffle pattern, PR9009. Patch by Artiom Myaskouvskey!
[oota-llvm.git] / test / CodeGen / X86 / vec_return.ll
index ed1a15c8607b4cfe123896bb0e37dea026e9b94b..676be9b7179cfd9847dffb2fbeefe2c6fb5d3693 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep xorps | count 1
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movaps | count 1
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep shuf
+; RUN: llc < %s -march=x86 -mattr=+sse2 > %t
+; RUN: grep pxor %t | count 1
+; RUN: grep movaps %t | count 1
+; RUN: not grep shuf %t
 
 define <2 x double> @test() {
        ret <2 x double> zeroinitializer