aco/ra: update register file when recreating blocking vectors

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38811>
This commit is contained in:
Rhys Perry 2025-12-02 11:28:46 +00:00 committed by Marge Bot
parent 5cf991ecfb
commit 667771950d

View file

@ -3660,6 +3660,7 @@ recreate_blocking_vectors(ra_ctx& ctx, const std::vector<Instruction*>& splits,
Temp component = split->definitions[op_idx].getTemp();
component = read_variable(ctx, component, ctx.block->index);
vec->operands[op_idx] = Operand(component, ctx.assignments[component.id()].reg);
reg_file.clear(vec->operands[op_idx]);
}
bool temp_in_scc = reg_file[scc];