ir3: Add pass to lower arrays to SSA
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 19 Feb 2021 11:14:14 +0000 (12:14 +0100)
committerEmma Anholt <emma@anholt.net>
Thu, 10 Jun 2021 19:24:04 +0000 (12:24 -0700)
commit3ac743c333e49c6c91e74073eb8ba01cc6762fc6
treeca72708e386f9bed9c8a934a0fa4a33df7fca1d9
parentd4b5a550ede675748cc2ededd3f19cefcdbc20e1
ir3: Add pass to lower arrays to SSA

This will be run right after nir->ir3. Even though we have SSA coming
out of NIR, we still need it for NIR registers, even though we keep the
original array around to insert false dependencies.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9842>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_array_to_ssa.c [new file with mode: 0644]
src/freedreno/ir3/meson.build