mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
aco/ra: update register file when updating phi definition
update_renames() fills in the wrong temp id.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: 302cb5c900 ("aco/ra: remove some redundant code")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17295>
This commit is contained in:
parent
4bcd753da4
commit
84f04fd080
1 changed files with 1 additions and 0 deletions
|
|
@ -2012,6 +2012,7 @@ get_reg_phi(ra_ctx& ctx, IDSet& live_in, RegisterFile& register_file,
|
|||
if (prev_phi) {
|
||||
/* if so, just update that phi's register */
|
||||
prev_phi->definitions[0].setFixed(pc.second.physReg());
|
||||
register_file.fill(prev_phi->definitions[0]);
|
||||
ctx.assignments[prev_phi->definitions[0].tempId()] = {pc.second.physReg(),
|
||||
pc.second.regClass()};
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue