Fix test case to avoid PIC magic.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 13 Sep 2012 19:47:45 +0000 (19:47 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 13 Sep 2012 19:47:45 +0000 (19:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163827 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/tailcall-64.ll

index df7af69a99692efe5546b4707aee63ba9fb3d9e3..adc8620060823b1252e5591f7b1222c357bd74be 100644 (file)
@@ -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 {