Use explicit target-triples to unbreak this test on non-darwin systems.
authorDan Gohman <gohman@apple.com>
Wed, 1 Oct 2008 00:25:38 +0000 (00:25 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 1 Oct 2008 00:25:38 +0000 (00:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56896 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/sse41-pmovx.ll

index 2db23c19f6a3f94c2d3769833cbbd716de90ff32..71e5e254121c408d2826862e4c2583c3db039c84 100644 (file)
@@ -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: