mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
nak: Drop the final calc_max_live() after GPR spilling
It's dead code. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
parent
ea27d57882
commit
f29b714ec9
1 changed files with 1 additions and 2 deletions
|
|
@ -1188,9 +1188,8 @@ impl Shader {
|
|||
|
||||
f.spill_values(RegFile::GPR, gpr_limit);
|
||||
|
||||
// Re-calculate liveness after we spill
|
||||
// Re-calculate liveness one last time
|
||||
live = SimpleLiveness::for_function(f);
|
||||
max_live = live.calc_max_live(f);
|
||||
}
|
||||
|
||||
self.info.num_gprs = total_gprs.try_into().unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue