mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02: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 (bn->cfg.visit(sequence))
|
||||||
if (!buildLiveSets(bn))
|
if (!buildLiveSets(bn))
|
||||||
return false;
|
return false;
|
||||||
if (n++ == 0)
|
if (n++ || bb->liveSet.marker)
|
||||||
bb->liveSet = bn->liveSet;
|
|
||||||
else
|
|
||||||
bb->liveSet |= bn->liveSet;
|
bb->liveSet |= bn->liveSet;
|
||||||
|
else
|
||||||
|
bb->liveSet = bn->liveSet;
|
||||||
}
|
}
|
||||||
if (!n && !bb->liveSet.marker)
|
if (!n && !bb->liveSet.marker)
|
||||||
bb->liveSet.fill(0);
|
bb->liveSet.fill(0);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue