From 79874c83bf76a5b3efd3d558933b90d9b53b829e Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 21 Mar 2026 22:20:34 +0100 Subject: IR: add 3rd operand to Instr The motivation is for aarch64 msub/madd instrs, for isel to produce. But it should be useful for other things too. --- src/ir_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir_dump.c') diff --git a/src/ir_dump.c b/src/ir_dump.c index 7534370..89d34d4 100644 --- a/src/ir_dump.c +++ b/src/ir_dump.c @@ -215,7 +215,7 @@ dumpinst(const Instr *ins) if (i == 1 && (ins->op == Ocall || ins->op == Ointrin)) { dumpcall(&calltab.p[ins->r.i]); } else { - dumpref(ins->op, (&ins->l)[i]); + dumpref(ins->op, ins->oper[i]); } } if (oisalloca(ins->op) && ins->l.t == RICON) { -- cgit v1.2.3