summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-10-24 21:20:25 +0000
committerDale Johannesen <dalej@apple.com>2008-10-24 21:20:25 +0000
commite45896fc4fd39a8b7e00721fdc62f217d3353014 (patch)
treecb963b4b3dcfb8bc63eac984d6efa414a5bda3f3 /llvm/test/CodeGen
parent01acb6284e83623f5843d429466c85fab1e13c2c (diff)
downloadbcm5719-llvm-e45896fc4fd39a8b7e00721fdc62f217d3353014.tar.gz
bcm5719-llvm-e45896fc4fd39a8b7e00721fdc62f217d3353014.zip
Be kind to non-x86 hosts.
llvm-svn: 58113
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll2
-rw-r--r--llvm/test/CodeGen/X86/isint.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll b/llvm/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll
index d51e3760f11..5a7d9a9d22c 100644
--- a/llvm/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll
+++ b/llvm/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -enable-legalize-types
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -enable-legalize-types
; PR2762
define void @foo(<4 x i32>* %p, <4 x double>* %q) {
%n = load <4 x i32>* %p
diff --git a/llvm/test/CodeGen/X86/isint.ll b/llvm/test/CodeGen/X86/isint.ll
index 17a419e5c5a..7acc5ccf20e 100644
--- a/llvm/test/CodeGen/X86/isint.ll
+++ b/llvm/test/CodeGen/X86/isint.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 > %t
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 > %t
; RUN: not grep cmp %t
; RUN: not grep xor %t
; RUN: grep jne %t | count 1
OpenPOWER on IntegriCloud