summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/call-imm.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-05-20 05:45:36 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-05-20 05:45:36 +0000
commit1fbc2a4754b6bfce605829c99111542f7491a0f6 (patch)
tree20240dc0c0567392a3079bb024f9112c23ca8261 /llvm/test/CodeGen/X86/call-imm.ll
parent960983371cd6590fc9e507331e08cd64d49a1618 (diff)
downloadbcm5719-llvm-1fbc2a4754b6bfce605829c99111542f7491a0f6.tar.gz
bcm5719-llvm-1fbc2a4754b6bfce605829c99111542f7491a0f6.zip
Fix test on non-darwin hosts.
llvm-svn: 72161
Diffstat (limited to 'llvm/test/CodeGen/X86/call-imm.ll')
-rw-r--r--llvm/test/CodeGen/X86/call-imm.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/call-imm.ll b/llvm/test/CodeGen/X86/call-imm.ll
index c39c6c09292..6e9c70dd42f 100644
--- a/llvm/test/CodeGen/X86/call-imm.ll
+++ b/llvm/test/CodeGen/X86/call-imm.ll
@@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llc -mtriple=i386-darwin-apple -relocation-model=static | grep {call.*12345678}
+; RUN: llvm-as < %s | llc -mtriple=i386-darwin-apple -relocation-model=pic | not grep {call.*12345678}
; RUN: llvm-as < %s | llc -mtriple=i386-pc-linux -relocation-model=dynamic-no-pic | grep {call.*12345678}
-; RUN: llvm-as < %s | llc -march=x86 -relocation-model=pic | not grep {call.*12345678}
; Call to immediate is not safe on x86-64 unless we *know* that the
; call will be within 32-bits pcrel from the dest immediate.
OpenPOWER on IntegriCloud