diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-06-03 21:13:54 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-06-03 21:13:54 +0000 |
| commit | ad6f3ff2c088657efa64b977535b18aef5ec7d7a (patch) | |
| tree | f2e4b19668fd9886e26b9f4a273b6483af4cc29b /llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll | |
| parent | c29260128787637f7dfe29ad5c3e6acbb60356eb (diff) | |
| download | bcm5719-llvm-ad6f3ff2c088657efa64b977535b18aef5ec7d7a.tar.gz bcm5719-llvm-ad6f3ff2c088657efa64b977535b18aef5ec7d7a.zip | |
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.
llvm-svn: 72806
Diffstat (limited to 'llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll b/llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll index a96314563c1..b30d41eb05b 100644 --- a/llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll +++ b/llvm/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 |

