summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/ga-offset.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-06-02 20:09:31 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-06-02 20:09:31 +0000
commit448641d87c20b0e3a9d601b416dfcfdf2814c2ce (patch)
tree3224287c99960861a31bc3dcdda499e1add0f8cc /llvm/test/CodeGen/X86/ga-offset.ll
parent6ab4375f87aef663a0f36c438eafa97059ff02a5 (diff)
downloadbcm5719-llvm-448641d87c20b0e3a9d601b416dfcfdf2814c2ce.tar.gz
bcm5719-llvm-448641d87c20b0e3a9d601b416dfcfdf2814c2ce.zip
On Darwin x86_64 small code model doesn't guarantee code address fits in 32-bit.
llvm-svn: 72734
Diffstat (limited to 'llvm/test/CodeGen/X86/ga-offset.ll')
-rw-r--r--llvm/test/CodeGen/X86/ga-offset.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/ga-offset.ll b/llvm/test/CodeGen/X86/ga-offset.ll
index cc93b4c2eef..40787cb9463 100644
--- a/llvm/test/CodeGen/X86/ga-offset.ll
+++ b/llvm/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 -march=x86-64 -relocation-model=static > %t
+; RUN: llvm-as < %s | llc -mtriple=x86_64-unknown-linux-gnu -relocation-model=static > %t
; RUN: not grep lea %t
; RUN: not grep add %t
; RUN: grep mov %t | count 1
OpenPOWER on IntegriCloud