diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/tailcall-64.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/tailcall-64.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/tailcall-64.ll b/llvm/test/CodeGen/X86/tailcall-64.ll index 962854a3bc4..f4d51c2eea7 100644 --- a/llvm/test/CodeGen/X86/tailcall-64.ll +++ b/llvm/test/CodeGen/X86/tailcall-64.ll @@ -188,7 +188,7 @@ define { i64, i64 } @crash(i8* %this) { define void @fold_indexed_load(i8* %mbstr, i64 %idxprom) nounwind uwtable ssp { entry: %dsplen = getelementptr inbounds [0 x %struct.funcs], [0 x %struct.funcs]* @func_table, i64 0, i64 %idxprom, i32 2 - %x1 = load i32 (i8*)** %dsplen, align 8 + %x1 = load i32 (i8*)*, i32 (i8*)** %dsplen, align 8 %call = tail call i32 %x1(i8* %mbstr) nounwind ret void } @@ -214,7 +214,7 @@ define i32 @rdar12282281(i32 %n) nounwind uwtable ssp { entry: %idxprom = sext i32 %n to i64 %arrayidx = getelementptr inbounds [0 x i32 (i8*, ...)*], [0 x i32 (i8*, ...)*]* @funcs, i64 0, i64 %idxprom - %0 = load i32 (i8*, ...)** %arrayidx, align 8 + %0 = load i32 (i8*, ...)*, i32 (i8*, ...)** %arrayidx, align 8 %call = tail call i32 (i8*, ...)* %0(i8* null, i32 0, i32 0, i32 0, i32 0, i32 0) nounwind ret i32 %call } |