mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 19:50:12 +01:00
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:
parent
00a5d32d60
commit
ce2067b41c
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue