diff options
| author | 2026-03-21 22:20:34 +0100 | |
|---|---|---|
| committer | 2026-03-22 10:49:26 +0100 | |
| commit | 79874c83bf76a5b3efd3d558933b90d9b53b829e (patch) | |
| tree | 566930a17f1e090f86c2051ffec33106012908eb /src/ir_dump.c | |
| parent | 83342d3b60438ef2421160a0673fb45d48b2f39f (diff) | |
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.
Diffstat (limited to 'src/ir_dump.c')
| -rw-r--r-- | src/ir_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |