ir3: Readd support for translating NIR phi nodes
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 10 Feb 2021 18:49:46 +0000 (19:49 +0100)
committerEmma Anholt <emma@anholt.net>
Thu, 10 Jun 2021 19:20:38 +0000 (12:20 -0700)
commite1d724057683e2d624a82fe37f358d8250d73374
treee84ea40c6433475dbcbc4f615292bedf5cdd166d
parent0ef021be4aba42e6caa0826d4952e0beddf0ca18
ir3: Readd support for translating NIR phi nodes

This is roughly based on the support removed a while ago, but it handles
sources better by associating each source with a predecessor block.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9842>
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_sched.c
src/freedreno/ir3/ir3_validate.c