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];