mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 16:45:03 +00:00
Fix test case to avoid PIC magic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163827 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7bba7d0efc
commit
da0e8219b7
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user