Make x86 and sse2 explicit for non-x86 hosts.
authorDale Johannesen <dalej@apple.com>
Thu, 21 Aug 2008 21:26:06 +0000 (21:26 +0000)
committerDale Johannesen <dalej@apple.com>
Thu, 21 Aug 2008 21:26:06 +0000 (21:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55141 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/extractps.ll
test/CodeGen/X86/pr2656.ll

index 0c20cb369490059e9c40e19300264f5615ddeed0..55da927cf766bc4b53a2829fd1a18888b0eb2dc9 100644 (file)
@@ -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
index 704de4b37faabbf52ce98459254088cc49d9a28e..3f6c3652ff58926c3434b3553f332d29f4a38289 100644 (file)
@@ -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"