pan/bi: Use builder for MUX -> CSEL opt
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 22 Jul 2022 19:38:08 +0000 (15:38 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000 (16:03 +0000)
commitfd427803375d023d22cbfde207deb65738465cae
tree4715aaa7237ebfbcda7ebc0025f3fbaddec0d6b2
parentde1702ef03add6e613236e6cb1009ee1e2e29eb8
pan/bi: Use builder for MUX -> CSEL opt

This is yet another case where we add a source, which will require reallocation.
It's easy enough to rebuild the instruction here.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/bi_schedule.c
src/panfrost/bifrost/bir.c
src/panfrost/bifrost/compiler.h
src/panfrost/bifrost/valhall/va_lower_isel.c