aco/ra: don't clear lateKill operands in get_reg_create_vector()

Fixes: 08f088479a ('aco/ra: set late-kill for operands of temporary p_create_vector')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36871>
(cherry picked from commit 219c53e6fc)
This commit is contained in:
Daniel Schürmann 2025-08-20 11:23:17 +02:00 committed by Eric Engestrom
parent ba43727af6
commit 7c4b200707
2 changed files with 2 additions and 2 deletions

View file

@ -6134,7 +6134,7 @@
"description": "aco/ra: don't clear lateKill operands in get_reg_create_vector()",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "08f088479a40b2f8c76064f4f9939c53a6d03a9b",
"notes": null

View file

@ -2109,7 +2109,7 @@ get_reg_create_vector(ra_ctx& ctx, const RegisterFile& reg_file, Temp temp,
tmp_file.fill_killed_operands(instr.get());
for (unsigned i = 0; i < instr->operands.size(); i++) {
if ((correct_pos_mask >> i) & 1u && instr->operands[i].isKill())
if ((correct_pos_mask >> i) & 1u && instr->operands[i].isKillBeforeDef())
tmp_file.clear(instr->operands[i]);
}