freedreno/ir3/ra: drop extending output live-ranges

This is no longer needed as we create meta:collect instructions in the
end block, which achieves the same result.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4272>
This commit is contained in:
Rob Clark 2020-03-21 13:29:37 -07:00 committed by Marge Bot
parent 0e7d24b532
commit bf0aa7ed90

View file

@ -892,13 +892,6 @@ ra_add_interference(struct ir3_ra_ctx *ctx)
}
}
/* need to fix things up to keep outputs live: */
struct ir3_instruction *out;
foreach_output (out, ir) {
unsigned name = ra_name(ctx, &ctx->instrd[out->ip]);
ctx->use[name] = ctx->instr_cnt;
}
for (unsigned i = 0; i < ctx->alloc_count; i++) {
for (unsigned j = 0; j < ctx->alloc_count; j++) {
if (intersects(ctx->def[i], ctx->use[i],