summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
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
commit21037da71347af2e1f348ce061c17e068390735f (patch)
treeb5f6d41dad72085796e4376dd7e58e9128fa184c /test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
parentd1e50edf5ad9d560ff331746cfd3a29f887bbd4b (diff)
downloadexternal_llvm-21037da71347af2e1f348ce061c17e068390735f.zip
external_llvm-21037da71347af2e1f348ce061c17e068390735f.tar.gz
external_llvm-21037da71347af2e1f348ce061c17e068390735f.tar.bz2
Fix PR2287. Darwin passes mmx values in register in 64-mode, not Linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2007-07-03-GR64ToVR64.ll')
-rw-r--r--test/CodeGen/X86/2007-07-03-GR64ToVR64.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll b/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
index f909b11..18850b1 100644
--- a/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
+++ b/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]