[llvm-commits] [llvm] r163827 - /llvm/trunk/test/CodeGen/X86/tailcall-64.ll
Jakob Stoklund Olesen
stoklund at 2pi.dk
Thu Sep 13 12:47:45 PDT 2012
Author: stoklund
Date: Thu Sep 13 14:47:45 2012
New Revision: 163827
URL: http://llvm.org/viewvc/llvm-project?rev=163827&view=rev
Log:
Fix test case to avoid PIC magic.
Modified:
llvm/trunk/test/CodeGen/X86/tailcall-64.ll
Modified: llvm/trunk/test/CodeGen/X86/tailcall-64.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/tailcall-64.ll?rev=163827&r1=163826&r2=163827&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/tailcall-64.ll (original)
+++ llvm/trunk/test/CodeGen/X86/tailcall-64.ll Thu Sep 13 14:47:45 2012
@@ -96,8 +96,7 @@
; 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 at 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 {
More information about the llvm-commits
mailing list