pan/bi: Remove assert(bi_is_ssa(dest))
authorAlyssa Rosenzweig <alyssa@collabora.com>
Tue, 26 Jul 2022 16:27:27 +0000 (12:27 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:24 +0000 (16:03 +0000)
commitf01ccdbf69b742f9f4c86d3cb73a770e0293fc02
tree1689467a0703c737eb4dfb13f7e470258a2fcd16
parent3fbd1e97d3081bec35f68f48dd1b39e94f9a53ad
pan/bi: Remove assert(bi_is_ssa(dest))

Prior to register allocation, destinations must be in SSA form, except for the
"fake SSA" briefly used in the current RA (for which bi_is_ssa returns true
anyway). These asserts duplicate the asserts in the validator. If there's any
coverage lost here, that's just a sign the validator needs to run more often.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/bi_opt_mod_props.c
src/panfrost/bifrost/bi_ra.c