ir3: Actually allow shared reg moves to be folded
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 25 Jun 2021 14:51:22 +0000 (16:51 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 8 Jul 2021 16:02:41 +0000 (16:02 +0000)
commitb1b4ce7be2c5025a6b4d1169a1b12e99fcfd4390
treed56ec0e34b7101faf3de9162535d1eeb2d1ef915
parentb32188cdba4bc3c1beec8957f48e29b960408227
ir3: Actually allow shared reg moves to be folded

I realized that shared registers were never actually getting folded,
even after adding them to valid_flags, because the move wasn't even
being considered.

I looked at the other uses of is_same_type_mov(), and they should be ok
with this.

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