1; RUN: llc -march=mipsel -disable-mips-delay-filler -relocation-model=pic -mips-tail-calls=1 < %s | FileCheck %s 2 3@g = external global i32 4 5; CHECK: move $gp 6; CHECK: jalr $25 7; CHECK: nop 8; CHECK-NOT: move $gp 9; CHECK: jr $25 10 11define void @f0() nounwind { 12entry: 13 tail call void @externalFunc() nounwind 14 tail call fastcc void @internalFunc() 15 ret void 16} 17 18declare void @externalFunc() 19 20define internal fastcc void @internalFunc() nounwind noinline { 21entry: 22 %0 = load i32, i32* @g, align 4 23 %inc = add nsw i32 %0, 1 24 store i32 %inc, i32* @g, align 4 25 ret void 26} 27 28define void @no_lazy(void (i32)* %pf) { 29 30; CHECK-LABEL: no_lazy 31; CHECK-NOT: gp_disp 32 33 tail call void %pf(i32 1) 34 ret void 35} 36