Be kind to non-x86 hosts.
authorDale Johannesen <dalej@apple.com>
Fri, 24 Oct 2008 21:20:25 +0000 (21:20 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 24 Oct 2008 21:20:25 +0000 (21:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58113 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2008-10-16-VecUnaryOp.ll
test/CodeGen/X86/isint.ll

index d51e3760f110fd1bba767a4f27c5a2ab05ca73a9..5a7d9a9d22c9890d4bf2cfcfb70780f4de2e6caa 100644 (file)
@@ -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
index 17a419e5c5ac0affd10cd3464d942b36643b8335..7acc5ccf20e7e6cc54a2c70c7d0f761cd08ebbc5 100644 (file)
@@ -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