[llvm-commits] [llvm] r50716 - /llvm/trunk/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll

Evan Cheng evan.cheng at apple.com
Tue May 6 00:23:51 PDT 2008


Author: evancheng
Date: Tue May  6 02:23:50 2008
New Revision: 50716

URL: http://llvm.org/viewvc/llvm-project?rev=50716&view=rev
Log:
Fix PR2287. Darwin passes mmx values in register in 64-mode, not Linux.

Modified:
    llvm/trunk/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll

Modified: llvm/trunk/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll?rev=50716&r1=50715&r2=50716&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll Tue May  6 02:23:50 2008
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+mmx | grep {movd	%rsi, %mm0}
-; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+mmx | grep {movd	%rdi, %mm1}
-; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+mmx | grep {paddusw	%mm0, %mm1}
+; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {movd	%rsi, %mm0}
+; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {movd	%rdi, %mm1}
+; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {paddusw	%mm0, %mm1}
 
 @R = external global <1 x i64>		; <<1 x i64>*> [#uses=1]
 





More information about the llvm-commits mailing list