mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
agx: reset kill bits in liveness
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
parent
4b46314133
commit
00a5d32d60
1 changed files with 3 additions and 1 deletions
|
|
@ -91,8 +91,10 @@ agx_compute_liveness(agx_context *ctx)
|
|||
/* Make live the corresponding source */
|
||||
agx_foreach_phi_in_block(blk, phi) {
|
||||
agx_index operand = phi->src[agx_predecessor_index(blk, *pred)];
|
||||
if (operand.type == AGX_INDEX_NORMAL)
|
||||
if (operand.type == AGX_INDEX_NORMAL) {
|
||||
BITSET_SET(live, operand.value);
|
||||
phi->src[agx_predecessor_index(blk, *pred)].kill = false;
|
||||
}
|
||||
}
|
||||
|
||||
bool progress = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue