summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/X86/vec_set-A.ll2
-rw-r--r--test/CodeGen/X86/vec_set-B.ll4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/vec_set-A.ll b/test/CodeGen/X86/vec_set-A.ll
index d161d683a6..49a8e01ead 100644
--- a/test/CodeGen/X86/vec_set-A.ll
+++ b/test/CodeGen/X86/vec_set-A.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep {movl.*\$1, %}
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep {movl.*\$1, %}
define <2 x i64> @test1() {
entry:
ret <2 x i64> < i64 1, i64 0 >
diff --git a/test/CodeGen/X86/vec_set-B.ll b/test/CodeGen/X86/vec_set-B.ll
index e4e5667d2f..a53116c92d 100644
--- a/test/CodeGen/X86/vec_set-B.ll
+++ b/test/CodeGen/X86/vec_set-B.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=x86 | not grep movaps
-; RUN: llvm-as < %s | llc -march=x86 | grep esp | count 2
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep movaps
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep esp | count 2
; These should both generate something like this:
;_test3: