summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-05-06 07:23:50 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-05-06 07:23:50 +0000
commitef3faa1b1c8abdff3d82ca2e40658f54e1215d5d (patch)
treed3ba775e87432f463a2ee4c7b2b4b5fb6609bcdf /llvm
parent68f463b88ec1bb377d023b9235bb977a4165289b (diff)
downloadbcm5719-llvm-ef3faa1b1c8abdff3d82ca2e40658f54e1215d5d.tar.gz
bcm5719-llvm-ef3faa1b1c8abdff3d82ca2e40658f54e1215d5d.zip
Fix PR2287. Darwin passes mmx values in register in 64-mode, not Linux.
llvm-svn: 50716
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll b/llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
index f909b118bff..18850b135cc 100644
--- a/llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
+++ b/llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
@@ -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]
OpenPOWER on IntegriCloud