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:
Alyssa Rosenzweig 2024-09-27 11:22:44 -04:00 committed by Marge Bot
parent 4b46314133
commit 00a5d32d60

View file

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