summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vec_set-5.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_set-5.ll')
-rw-r--r--llvm/test/CodeGen/X86/vec_set-5.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/vec_set-5.ll b/llvm/test/CodeGen/X86/vec_set-5.ll
index 8761417a98a..218f0415fd7 100644
--- a/llvm/test/CodeGen/X86/vec_set-5.ll
+++ b/llvm/test/CodeGen/X86/vec_set-5.ll
@@ -1,6 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep movlhps | wc -l | grep 2 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep unpcklps | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep punpckldq | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 -o %t -f
+; RUN: grep movlhps %t | wc -l | grep 2
+; RUN: grep unpcklps %t | wc -l | grep 1
+; RUN: grep punpckldq %t | wc -l | grep 1
<4 x float> %test1(float %a, float %b) {
%tmp = insertelement <4 x float> zeroinitializer, float %a, uint 0
OpenPOWER on IntegriCloud