ir3: Make predecessors an array

Graphics / Mesa 3D Graphics Library / Mesa - Connor Abbott [gmail.com] - 3 May 2021 19:52 UTC

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:

dd55bd8f688 ir3: Make predecessors an array
src/freedreno/ir3/ir3.c | 33 ++++++++++++++++++++++++++++++++-
src/freedreno/ir3/ir3.h | 6 +++++-
src/freedreno/ir3/ir3_compiler_nir.c | 2 +-
src/freedreno/ir3/ir3_delay.c | 8 ++++----
src/freedreno/ir3/ir3_legalize.c | 21 ++++++++++-----------
src/freedreno/ir3/ir3_print.c | 12 ++++--------
6 files changed, 56 insertions(+), 26 deletions(-)

Upstream: cgit.freedesktop.org


  • Share