pan/bi: Cull DTSEL_IMM dests in post-RA DCE
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 23 Dec 2021 18:12:19 +0000 (13:12 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 22 Feb 2022 16:57:30 +0000 (16:57 +0000)
commit87d46f40c87c6c612d61646382c74ccf533c5e09
tree642fb345db6b2d938298ab44503fa0473fff6a30
parent956b969616b9eecfea158882835645fe65bcd429
pan/bi: Cull DTSEL_IMM dests in post-RA DCE

They are useless (given the semantics of DTSEL_IMM) and complicate
scoreboarding. Just remove them in the pass that removes all the other silly
register destinations.

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