summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-03-10 17:33:57 +0000
committerDale Johannesen <dalej@apple.com>2008-03-10 17:33:57 +0000
commitfe2c0e2dcaf189ab46aac6ec40997be0a0dbd4f5 (patch)
treea352fe6d1279f56e1bea7407dc85d4f71376cac0 /llvm/test
parent65aada6e8f29f30fcdb6c6827eb1330fd3d0738a (diff)
downloadbcm5719-llvm-fe2c0e2dcaf189ab46aac6ec40997be0a0dbd4f5.tar.gz
bcm5719-llvm-fe2c0e2dcaf189ab46aac6ec40997be0a0dbd4f5.zip
These tests don't work unless SSE2 is active.
Judging from the checking comments this is intentional, so add the flag (makes them pass on non-x86 host). llvm-svn: 48157
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/vec_set-A.ll2
-rw-r--r--llvm/test/CodeGen/X86/vec_set-B.ll4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/vec_set-A.ll b/llvm/test/CodeGen/X86/vec_set-A.ll
index d161d683a6f..49a8e01eade 100644
--- a/llvm/test/CodeGen/X86/vec_set-A.ll
+++ b/llvm/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/llvm/test/CodeGen/X86/vec_set-B.ll b/llvm/test/CodeGen/X86/vec_set-B.ll
index e4e5667d2f6..a53116c92d1 100644
--- a/llvm/test/CodeGen/X86/vec_set-B.ll
+++ b/llvm/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:
OpenPOWER on IntegriCloud