summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-09-13 19:47:45 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-09-13 19:47:45 +0000
commit32a56fa3ba5beab7a231d2fc373a9c6f5c517a3a (patch)
tree69200a59c1c072294ef39df098ed58445972921f
parent7696571d2b6b4d0d58de4d2b5be191f10d62eca1 (diff)
downloadbcm5719-llvm-32a56fa3ba5beab7a231d2fc373a9c6f5c517a3a.tar.gz
bcm5719-llvm-32a56fa3ba5beab7a231d2fc373a9c6f5c517a3a.zip
Fix test case to avoid PIC magic.
llvm-svn: 163827
-rw-r--r--llvm/test/CodeGen/X86/tailcall-64.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/tailcall-64.ll b/llvm/test/CodeGen/X86/tailcall-64.ll
index df7af69a996..adc86200608 100644
--- a/llvm/test/CodeGen/X86/tailcall-64.ll
+++ b/llvm/test/CodeGen/X86/tailcall-64.ll
@@ -96,8 +96,7 @@ define { i64, i64 } @crash(i8* %this) {
; Check that we can fold an indexed load into a tail call instruction.
; CHECK: fold_indexed_load
; CHECK: leaq (%rsi,%rsi,4), %[[RAX:r..]]
-; CHECK: movq _func_table@GOTPCREL(%rip), %[[RCX:r..]]
-; CHECK: jmpq *16(%[[RCX]],%[[RAX]],8) # TAILCALL
+; CHECK: jmpq *16(%{{r..}},%[[RAX]],8) # TAILCALL
%struct.funcs = type { i32 (i8*, i32*, i32)*, i32 (i8*)*, i32 (i8*)*, i32 (i8*, i32)*, i32 }
@func_table = external global [0 x %struct.funcs]
define void @fold_indexed_load(i8* %mbstr, i64 %idxprom) nounwind uwtable ssp {
OpenPOWER on IntegriCloud