aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3/ir3_ra.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2020-03-21 13:29:37 -0700
committerMarge Bot <[email protected]>2020-03-27 22:41:36 +0000
commitbf0aa7ed90231540c66328a515928dd8e3324343 (patch)
treef5c409c3c2bd3bdcf68a8abcb4d1abe2c25b84f1 /src/freedreno/ir3/ir3_ra.c
parent0e7d24b532e1a52cb5b3da36d1ed5b2204fb0acb (diff)
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4272>
Diffstat (limited to 'src/freedreno/ir3/ir3_ra.c')
-rw-r--r--src/freedreno/ir3/ir3_ra.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/freedreno/ir3/ir3_ra.c b/src/freedreno/ir3/ir3_ra.c
index ccba90be552..d4663f6167d 100644
--- a/src/freedreno/ir3/ir3_ra.c
+++ b/src/freedreno/ir3/ir3_ra.c
@@ -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],