pan/bi: Strengenth assert in the validator

We should only see SSA now.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
This commit is contained in:
Alyssa Rosenzweig 2022-07-26 12:25:19 -04:00 committed by Marge Bot
parent 98c69de80d
commit 3fbd1e97d3

View file

@ -116,7 +116,7 @@ bi_validate_width(bi_context *ctx)
bi_foreach_instr_global(ctx, I) {
bi_foreach_dest(I, d) {
if (!bi_is_ssa(I->dest[d])) continue;
assert(bi_is_ssa(I->dest[d]));
unsigned v = I->dest[d].value;
assert(width[v] == 0 && "broken SSA");