summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vec_shuffle-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_shuffle-2.ll')
-rw-r--r--llvm/test/CodeGen/X86/vec_shuffle-2.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/vec_shuffle-2.ll b/llvm/test/CodeGen/X86/vec_shuffle-2.ll
index dd4c269e075..df78323a538 100644
--- a/llvm/test/CodeGen/X86/vec_shuffle-2.ll
+++ b/llvm/test/CodeGen/X86/vec_shuffle-2.ll
@@ -1,6 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep pshufhw | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep pshuflw | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep movhps | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 -o %t -f
+; RUN: grep pshufhw %t | wc -l | grep 1
+; RUN: grep pshuflw %t | wc -l | grep 1
+; RUN: grep movhps %t | wc -l | grep 1
void %test1(<2 x long>* %res, <2 x long>* %A) {
%tmp = load <2 x long>* %A
OpenPOWER on IntegriCloud