agx: strengthen assert
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
committed by
Marge Bot
parent
00a5d32d60
commit
ce2067b41c
@@ -692,6 +692,7 @@ agx_emit_move_before_phi(agx_context *ctx, agx_block *block,
|
||||
|
||||
agx_instr *phi = agx_phi_to(&b, agx_register_like(copy->dest, copy->src),
|
||||
agx_num_predecessors(block));
|
||||
assert(!copy->src.kill);
|
||||
|
||||
agx_foreach_src(phi, s) {
|
||||
phi->src[s] = copy->src;
|
||||
|
||||
Reference in New Issue
Block a user