ir3: Make predecessors an array
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 29 Jan 2021 14:31:52 +0000 (15:31 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 3 May 2021 19:52:31 +0000 (19:52 +0000)
commitdd55bd8f68810a58257f05aa41e0ef206836b39e
tree855d4b85f1c2d32ed16806f8f80638a7762e1341
parent0bd68b83867c1d8567bf0eef7bae32406068a57c
ir3: Make predecessors an array

We need a stable order in order to create phi instructions. In the
future we can make this more sophisticated in order to make manipulating
the CFG easier, but for now that only happens after RA, so we won't have
to worry about it.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10591>
src/freedreno/ir3/ir3.c
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_delay.c
src/freedreno/ir3/ir3_legalize.c
src/freedreno/ir3/ir3_print.c