fix this when run on non x86 hosts.
authorChris Lattner <sabre@nondot.org>
Thu, 6 Dec 2007 01:05:52 +0000 (01:05 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 6 Dec 2007 01:05:52 +0000 (01:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44645 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/vec_zero_cse.ll

index b882bad1afffefbe6a30b90d99b5c70bfce8ef96..0ccf745e524e2b36e6bc066b2e76be985c379806 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -relocation-model=static -mcpu=yonah | grep pxor | count 1
-; RUN: llvm-as < %s | llc -relocation-model=static -mcpu=yonah | grep xorps | count 1
-; RUN: llvm-as < %s | llc -relocation-model=static -mcpu=yonah | grep pcmpeqd | count 2
+; RUN: llvm-as < %s | llc -relocation-model=static -march=x86 -mcpu=yonah | grep pxor | count 1
+; RUN: llvm-as < %s | llc -relocation-model=static -march=x86 -mcpu=yonah | grep xorps | count 1
+; RUN: llvm-as < %s | llc -relocation-model=static -march=x86 -mcpu=yonah | grep pcmpeqd | count 2
 
 @M1 = external global <1 x i64>
 @M2 = external global <2 x i32>