diff options
author | Dan Gohman <gohman@apple.com> | 2009-06-03 00:37:20 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-06-03 00:37:20 +0000 |
commit | 6ecc2602a6898fb610d958d1f50d356042a8c0d1 (patch) | |
tree | a69d9441feb9a2a7ea7387f1eb82cda516464c6c /test/CodeGen/X86/ga-offset.ll | |
parent | b3ae97cffe089ff84ea336e2bc062955eda1ff07 (diff) | |
download | external_llvm-6ecc2602a6898fb610d958d1f50d356042a8c0d1.zip external_llvm-6ecc2602a6898fb610d958d1f50d356042a8c0d1.tar.gz external_llvm-6ecc2602a6898fb610d958d1f50d356042a8c0d1.tar.bz2 |
Revert r72734. The Darwin assembler doesn't support the static
relocation model on x86-64. Higher level logic should override
the relocation model to PIC on x86_64-apple-darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72746 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/ga-offset.ll')
-rw-r--r-- | test/CodeGen/X86/ga-offset.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/ga-offset.ll b/test/CodeGen/X86/ga-offset.ll index 40787cb..cc93b4c 100644 --- a/test/CodeGen/X86/ga-offset.ll +++ b/test/CodeGen/X86/ga-offset.ll @@ -2,7 +2,7 @@ ; RUN: not grep lea %t ; RUN: not grep add %t ; RUN: grep mov %t | count 1 -; RUN: llvm-as < %s | llc -mtriple=x86_64-unknown-linux-gnu -relocation-model=static > %t +; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=static > %t ; RUN: not grep lea %t ; RUN: not grep add %t ; RUN: grep mov %t | count 1 |