pan/bi: Preserve SSA form from NIR
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 18 May 2022 15:24:32 +0000 (11:24 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000 (16:03 +0000)
commit28a9486f3abea3f96a14530761ff406628381fc2
treec89ef74a90c3a543e214f0febad2cd53f4a52184
parent8fb415fee200dac2b4754a1b96b286a1c187924d
pan/bi: Preserve SSA form from NIR

Don't call nir_convert_from_ssa, preserve the SSA from NIR. This gets us real
SSA for all frontend passes. The RA becomes a black box that takes SSA in and
outputs register allocated code out. The "broken" SSA form never escapes RA,
which means we can clean up special cases in the rest of the compiler. It also
gets us ready for exploiting SSA form in the RA itself.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/bi_opt_dce.c
src/panfrost/bifrost/bi_pressure_schedule.c
src/panfrost/bifrost/bi_validate.c
src/panfrost/bifrost/bifrost_compile.c