From a2ffdca26a30653377db4fc9584e2541a334a5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Wed, 8 Sep 2021 22:44:19 +0200 Subject: [PATCH] aco/ra: don't set affinities for ssa-repair phis These have no effect anymore. Reviewed-by: Rhys Perry Part-of: --- src/amd/compiler/aco_register_allocation.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/compiler/aco_register_allocation.cpp b/src/amd/compiler/aco_register_allocation.cpp index e908aebf76b..acc250c8942 100644 --- a/src/amd/compiler/aco_register_allocation.cpp +++ b/src/amd/compiler/aco_register_allocation.cpp @@ -2107,7 +2107,6 @@ handle_live_in(ra_ctx& ctx, Temp val, Block* block) assert(ctx.assignments[ops[i].id()].assigned); assert(ops[i].regClass() == new_val.regClass()); phi->operands[i].setFixed(ctx.assignments[ops[i].id()].reg); - ctx.assignments.back().affinity = ops[i].id(); } block->instructions.insert(block->instructions.begin(), std::move(phi)); }