Test updates were performed using: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only the test updates where the test passed without further modification (which is almost all of them, as the backend is largely pointer-type agnostic).
14 lines
410 B
LLVM
14 lines
410 B
LLVM
; RUN: llc < %s -mtriple=i386-pc-linux-gnu | FileCheck %s
|
|
; pr7610
|
|
|
|
define ghccc void @t(ptr %Base_Arg, ptr %Sp_Arg, ptr %Hp_Arg, i32 %R1_Arg) nounwind {
|
|
cm1:
|
|
; CHECK-LABEL: t:
|
|
; CHECK: jmpl *%eax
|
|
%nm3 = getelementptr i32, ptr %Sp_Arg, i32 1
|
|
%nm9 = load i32, ptr %Sp_Arg
|
|
%nma = inttoptr i32 %nm9 to ptr
|
|
tail call ghccc void %nma(ptr %Base_Arg, ptr %nm3, ptr %Hp_Arg, i32 %R1_Arg) nounwind
|
|
ret void
|
|
}
|