Fix live range

This commit is contained in:
Dmitry Stogov 2022-09-16 12:47:03 +03:00
parent 0eee478277
commit 76ad4e59a6

View File

@ -542,7 +542,7 @@ int ir_get_temporary_regs(ir_ctx *ctx, ir_ref ref, ir_tmp_reg *tmp_regs)
tmp_regs[n].num = 3; tmp_regs[n].num = 3;
tmp_regs[n].type = insn->type; tmp_regs[n].type = insn->type;
tmp_regs[n].start = IR_LOAD_SUB_REF; tmp_regs[n].start = IR_LOAD_SUB_REF;
tmp_regs[n].end = IR_DEF_SUB_REF; tmp_regs[n].end = IR_SAVE_SUB_REF;
n++; n++;
} }
return n; return n;