ir3: Copy-propagate single-source phis
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 23 Jul 2021 09:45:10 +0000 (11:45 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 20 Aug 2021 10:37:36 +0000 (10:37 +0000)
commitd25cf483cbfdd51627d96ffcff28adf7606122cd
tree309e185b858926152a4e56fa736170615895b36f
parentf40baf33e66bacc006afc56d4d334037d6c9a02f
ir3: Copy-propagate single-source phis

These can be created when removing unreachable control flow, and it
seems easier to remove them than to add special code to handle them when
spilling.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12033>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_cp.c