[llvm-commits] [llvm] r56896 - /llvm/trunk/test/CodeGen/X86/sse41-pmovx.ll

Dan Gohman gohman at apple.com
Tue Sep 30 17:25:39 PDT 2008


Author: djg
Date: Tue Sep 30 19:25:38 2008
New Revision: 56896

URL: http://llvm.org/viewvc/llvm-project?rev=56896&view=rev
Log:
Use explicit target-triples to unbreak this test on non-darwin systems.

Modified:
    llvm/trunk/test/CodeGen/X86/sse41-pmovx.ll

Modified: llvm/trunk/test/CodeGen/X86/sse41-pmovx.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/sse41-pmovx.ll?rev=56896&r1=56895&r2=56896&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/sse41-pmovx.ll (original)
+++ llvm/trunk/test/CodeGen/X86/sse41-pmovx.ll Tue Sep 30 19:25:38 2008
@@ -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:





More information about the llvm-commits mailing list