summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-06-28 17:56:43 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-06-28 17:56:43 +0000
commitb757fc3878d90976cd7ca92291aa8b626d5dff6b (patch)
tree0d644687f6f68a1cb965cf7fe28aa43696381bd6 /llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll
parent54a4724467f32b1099ee0fce2dab1b223edf81c7 (diff)
downloadbcm5719-llvm-b757fc3878d90976cd7ca92291aa8b626d5dff6b.tar.gz
bcm5719-llvm-b757fc3878d90976cd7ca92291aa8b626d5dff6b.zip
Revert "Re-land r335297 "[X86] Implement more of x86-64 large and medium PIC code models""
Reverting because this is causing failures in the LLDB test suite on GreenDragon. LLVM ERROR: unsupported relocation with subtraction expression, symbol '__GLOBAL_OFFSET_TABLE_' can not be undefined in a subtraction expression llvm-svn: 335894
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll b/llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll
index 1f7a59efa69..27e42416ef8 100644
--- a/llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll
+++ b/llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll
@@ -1,4 +1,4 @@
-; RUN: llc -fast-isel-sink-local-values -fast-isel -O0 -code-model=large -mcpu=generic -mtriple=x86_64-linux -relocation-model=static < %s | FileCheck %s
+; RUN: llc -fast-isel-sink-local-values -fast-isel -O0 -code-model=large -mcpu=generic -mtriple=x86_64-apple-darwin10 -relocation-model=pic < %s | FileCheck %s
; Check that fast-isel cleans up when it fails to lower a call instruction.
define void @fastiselcall() {
@@ -9,7 +9,7 @@ entry:
; FastISel's local value code was dead, so it's gone.
; CHECK-NOT: movl $42,
; SDag-ISel's arg mov:
-; CHECK: movabsq $targetfn, %[[REG:[^ ]*]]
+; CHECK: movabsq $_targetfn, %[[REG:[^ ]*]]
; CHECK: movl $42, %edi
; CHECK: callq *%[[REG]]
OpenPOWER on IntegriCloud