summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_set-3.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/vec_set-3.ll')
-rw-r--r--test/CodeGen/X86/vec_set-3.ll8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CodeGen/X86/vec_set-3.ll b/test/CodeGen/X86/vec_set-3.ll
index 5cb133c134..23c5808af1 100644
--- a/test/CodeGen/X86/vec_set-3.ll
+++ b/test/CodeGen/X86/vec_set-3.ll
@@ -1,5 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep shufps | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | grep pshufd | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | \
+; RUN: grep shufps | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | \
+; RUN: grep pshufd | wc -l | grep 1
<4 x float> %test(float %a) {
%tmp = insertelement <4 x float> zeroinitializer, float %a, uint 1
@@ -8,7 +10,7 @@
ret <4 x float> %tmp6
}
-<2 x long> %test(int %a) {
+<2 x long> %test2(int %a) {
%tmp7 = insertelement <4 x int> zeroinitializer, int %a, uint 2
%tmp9 = insertelement <4 x int> %tmp7, int 0, uint 3
%tmp10 = cast <4 x int> %tmp9 to <2 x long>