mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
nak: Only put actually live SSA values in the ra.live_in sets
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
parent
49f8fb0c03
commit
854b4c0817
1 changed files with 6 additions and 4 deletions
|
|
@ -866,10 +866,12 @@ impl AssignRegsBlock {
|
|||
*/
|
||||
for raf in &self.ra.files {
|
||||
for (ssa, reg) in &raf.ssa_reg {
|
||||
self.live_in.push(LiveValue {
|
||||
live_ref: LiveRef::SSA(*ssa),
|
||||
reg_ref: RegRef::new(raf.file(), *reg, 1),
|
||||
});
|
||||
if bl.is_live_in(ssa) {
|
||||
self.live_in.push(LiveValue {
|
||||
live_ref: LiveRef::SSA(*ssa),
|
||||
reg_ref: RegRef::new(raf.file(), *reg, 1),
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue