pan/bi: Don't remove dests in DCE
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 21 Jul 2022 19:40:05 +0000 (15:40 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000 (16:03 +0000)
commit75a721f3a8a5108e95eecff4c214801829652e6d
treeac61d1079eed21a73dcd373470fe8403cbcb8196
parentf52de4621ae119c26681d0ce743271a378669c03
pan/bi: Don't remove dests in DCE

Removing dests without removing instructions only makes sense for certain
pseudo-instructions, but it makes the IR needlessly complicated for all
instructions. There's no real reason to do so, we can signal this in a different
way instead.

No shader-db changes.

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