mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 02:10:12 +01:00
nv50/ir/ra: Fix live set propagation in the secondary passes of buildLiveSets().
This commit is contained in:
parent
2fc014f8c0
commit
f4dbdcbfcf
1 changed files with 3 additions and 3 deletions
|
|
@ -466,10 +466,10 @@ RegAlloc::buildLiveSets(BasicBlock *bb)
|
|||
if (bn->cfg.visit(sequence))
|
||||
if (!buildLiveSets(bn))
|
||||
return false;
|
||||
if (n++ == 0)
|
||||
bb->liveSet = bn->liveSet;
|
||||
else
|
||||
if (n++ || bb->liveSet.marker)
|
||||
bb->liveSet |= bn->liveSet;
|
||||
else
|
||||
bb->liveSet = bn->liveSet;
|
||||
}
|
||||
if (!n && !bb->liveSet.marker)
|
||||
bb->liveSet.fill(0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue