ir3: Stop creating dummy dest registers
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 25 Jun 2021 08:51:25 +0000 (10:51 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 29 Jun 2021 08:08:12 +0000 (08:08 +0000)
commit48f5f3be5f7a2ebbefdb66d69d11cfef73aa20eb
tree73b8cb2e88f4ad06437420a0ffdea0a1427e694d
parent6d84348bb49ea86dafc16cfef79558cfbd1a613a
ir3: Stop creating dummy dest registers

These were a holdover from before the src/dst split and are no longer
necessary. Just don't create any dest registers for instructions that
never have a destination.

This has the side-effect that it becomes easier to replace uses of
dest_regs() with a per-register thing, once we start adding support for
multiple destinations.

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