From 667771950d1c5ad9429a922fc28f8e7e8cdadd04 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Tue, 2 Dec 2025 11:28:46 +0000 Subject: [PATCH] aco/ra: update register file when recreating blocking vectors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_register_allocation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/compiler/aco_register_allocation.cpp b/src/amd/compiler/aco_register_allocation.cpp index 4ab176393d5..c5e97aab449 100644 --- a/src/amd/compiler/aco_register_allocation.cpp +++ b/src/amd/compiler/aco_register_allocation.cpp @@ -3660,6 +3660,7 @@ recreate_blocking_vectors(ra_ctx& ctx, const std::vector& 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];