mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
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 commit219c53e6fc)
This commit is contained in:
parent
ba43727af6
commit
7c4b200707
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue