1 ; RUN: llc -march=mips < %s | FileCheck %s 2 3 define void @f1(i64 %ll1, float %f, i64 %ll, i32 %i, float %f2) nounwind { 4 entry: 5 ; CHECK: addu $[[R1:[0-9]+]], $zero, $5 6 ; CHECK: addu $[[R0:[0-9]+]], $zero, $4 7 ; CHECK: ori $6, ${{[0-9]+}}, 3855 8 ; CHECK: ori $7, ${{[0-9]+}}, 22136 9 ; CHECK: lw $25, %call16(ff1) 10 ; CHECK: jalr 11 tail call void @ff1(i32 %i, i64 1085102592623924856) nounwind 12 ; CHECK: lw $25, %call16(ff2) 13 ; CHECK: lw $[[R2:[0-9]+]], 80($sp) 14 ; CHECK: lw $[[R3:[0-9]+]], 84($sp) 15 ; CHECK: addu $4, $zero, $[[R2]] 16 ; CHECK: addu $5, $zero, $[[R3]] 17 ; CHECK: jalr $25 18 tail call void @ff2(i64 %ll, double 3.000000e+00) nounwind 19 %sub = add nsw i32 %i, -1 20 ; CHECK: sw $[[R1]], 28($sp) 21 ; CHECK: sw $[[R0]], 24($sp) 22 ; CHECK: lw $25, %call16(ff3) 23 ; CHECK: addu $6, $zero, $[[R2]] 24 ; CHECK: addu $7, $zero, $[[R3]] 25 ; CHECK: jalr $25 26 tail call void @ff3(i32 %i, i64 %ll, i32 %sub, i64 %ll1) nounwind 27 ret void 28 } 29 30 declare void @ff1(i32, i64) 31 32 declare void @ff2(i64, double) 33 34 declare void @ff3(i32, i64, i32, i64) 35