mirror of
https://github.com/danog/ir.git
synced 2024-11-26 20:34:53 +01:00
Added missing fixed interval
This commit is contained in:
parent
6009e376b7
commit
3b0de17cdd
8
ir_ra.c
8
ir_ra.c
@ -1390,9 +1390,15 @@ int ir_compute_live_ranges(ir_ctx *ctx)
|
||||
IR_ASSERT(ctx->rules);
|
||||
if (ctx->rules[input] & IR_FUSED) {
|
||||
ir_add_fusion_ranges(ctx, ref, input, bb, live_in_block, b);
|
||||
} else if (ctx->rules[input] == (IR_SKIPPED|IR_RLOAD)) {
|
||||
} else {
|
||||
if (ctx->rules[input] == (IR_SKIPPED|IR_RLOAD)) {
|
||||
ir_set_alocated_reg(ctx, ref, j, ctx->ir_base[input].op2);
|
||||
}
|
||||
if (reg != IR_REG_NONE) {
|
||||
use_pos = IR_LOAD_LIVE_POS_FROM_REF(ref);
|
||||
ir_add_fixed_live_range(ctx, reg, use_pos, use_pos + IR_USE_SUB_REF);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (reg != IR_REG_NONE) {
|
||||
use_pos = IR_LOAD_LIVE_POS_FROM_REF(ref);
|
||||
|
Loading…
Reference in New Issue
Block a user