diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-09-13 19:47:45 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-09-13 19:47:45 +0000 |
commit | da0e8219b72e79a41f18c4dc4ea7e11ec2211d2e (patch) | |
tree | 4bf354a9c35595721ab231ab741a30df9e805951 /test/CodeGen/X86/tailcall-64.ll | |
parent | 7bba7d0efc69ff3da5a064a5d77513dd5aca0f15 (diff) | |
download | llvm-da0e8219b72e79a41f18c4dc4ea7e11ec2211d2e.tar.gz llvm-da0e8219b72e79a41f18c4dc4ea7e11ec2211d2e.tar.bz2 llvm-da0e8219b72e79a41f18c4dc4ea7e11ec2211d2e.tar.xz |
Fix test case to avoid PIC magic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/tailcall-64.ll')
-rw-r--r-- | test/CodeGen/X86/tailcall-64.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/X86/tailcall-64.ll b/test/CodeGen/X86/tailcall-64.ll index df7af69a99..adc8620060 100644 --- a/test/CodeGen/X86/tailcall-64.ll +++ b/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 { |