aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2009-03-23-MultiUseSched.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-06-03 21:13:54 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-06-03 21:13:54 +0000
commit424f8f339a0c70f58ce90254c0e04f637ab4da40 (patch)
tree3c673ac8ebfe76f2f0eb17dbef1e7ae5168693fd /test/CodeGen/X86/2009-03-23-MultiUseSched.ll
parent006a03482880a5b614dfbb8601e0ae92593a595c (diff)
For Darwin / x86_64, override -relocation-model=static to pic if the output is assembly since Darwin assembler does not really support -static codeine.
I view this as a temporary workaround until the assembler / linker changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72806 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-03-23-MultiUseSched.ll')
-rw-r--r--test/CodeGen/X86/2009-03-23-MultiUseSched.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2009-03-23-MultiUseSched.ll b/test/CodeGen/X86/2009-03-23-MultiUseSched.ll
index a96314563c..b30d41eb05 100644
--- a/test/CodeGen/X86/2009-03-23-MultiUseSched.ll
+++ b/test/CodeGen/X86/2009-03-23-MultiUseSched.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=static -stats -info-output-file - > %t
+; RUN: llvm-as < %s | llc -mtriple=x86_64-linux -relocation-model=static -stats -info-output-file - > %t
; RUN: not grep spill %t
; RUN: not grep {%rsp} %t
; RUN: not grep {%rbp} %t