summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-08-21 21:26:06 +0000
committerDale Johannesen <dalej@apple.com>2008-08-21 21:26:06 +0000
commite2122a5e2eabb57f2013d5d0ddcbf30bcc0dbc1f (patch)
tree950d632566842e018c96afe588086b6697facbb2 /test
parent3434994874b4af265df25b1509e340080cb30630 (diff)
downloadllvm-e2122a5e2eabb57f2013d5d0ddcbf30bcc0dbc1f.tar.gz
llvm-e2122a5e2eabb57f2013d5d0ddcbf30bcc0dbc1f.tar.bz2
llvm-e2122a5e2eabb57f2013d5d0ddcbf30bcc0dbc1f.tar.xz
Make x86 and sse2 explicit for non-x86 hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/extractps.ll2
-rw-r--r--test/CodeGen/X86/pr2656.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/extractps.ll b/test/CodeGen/X86/extractps.ll
index 0c20cb3694..55da927cf7 100644
--- a/test/CodeGen/X86/extractps.ll
+++ b/test/CodeGen/X86/extractps.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mcpu=penryn > %t
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=penryn > %t
; not grep movd %t
; not grep movss %t
; grep {extractps \\$0, %xmm0, } %t
diff --git a/test/CodeGen/X86/pr2656.ll b/test/CodeGen/X86/pr2656.ll
index 704de4b37f..3f6c3652ff 100644
--- a/test/CodeGen/X86/pr2656.ll
+++ b/test/CodeGen/X86/pr2656.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep {xorps.\*sp} | count 1
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep {xorps.\*sp} | count 1
; PR2656
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"