aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-10-01 00:25:38 +0000
committerDan Gohman <gohman@apple.com>2008-10-01 00:25:38 +0000
commit70695fee513447aff8ce063a1f183e05cafa486f (patch)
tree5382d05d9bacf9d84230071e45ff3efa602647d9
parent05472ee54bea84f487c6970b741625c3ca410b01 (diff)
Use explicit target-triples to unbreak this test on non-darwin systems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56896 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/sse41-pmovx.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/sse41-pmovx.ll b/test/CodeGen/X86/sse41-pmovx.ll
index 2db23c19f6..71e5e25412 100644
--- a/test/CodeGen/X86/sse41-pmovx.ll
+++ b/test/CodeGen/X86/sse41-pmovx.ll
@@ -3,7 +3,8 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 | grep pmovsxbd
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 | grep pmovsxwd
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 | grep pmovsxbq
-; RUN: llvm-as < %s | llc -march=x86-64 -mattr=sse41 | grep movq | count 1
+; RUN: llvm-as < %s | llc -march=x86-64 -mattr=sse41 -mtriple=x86_64-apple-darwin | grep movq | count 1
+; RUN: llvm-as < %s | llc -march=x86-64 -mattr=sse41 -mtriple=x86_64-unknown-linux-gnu | not grep movq
define <2 x i64> @t1(i32* %p) nounwind {
entry: