mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
i965: Update the live interval when coalescing regs.
This commit is contained in:
parent
0c6752026c
commit
b8613d70da
1 changed files with 4 additions and 0 deletions
|
|
@ -2563,6 +2563,10 @@ fs_visitor::register_coalesce()
|
|||
continue;
|
||||
}
|
||||
|
||||
/* Update live interval so we don't have to recalculate. */
|
||||
this->virtual_grf_use[inst->src[0].reg] = MAX2(virtual_grf_use[inst->src[0].reg],
|
||||
virtual_grf_use[inst->dst.reg]);
|
||||
|
||||
/* Rewrite the later usage to point at the source of the move to
|
||||
* be removed.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue