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:
Faith Ekstrand 2023-10-19 10:43:30 -05:00 committed by Marge Bot
parent ea27d57882
commit f29b714ec9

View file

@ -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();