Skip to content

nir: Remove register arrays & indirects

Alyssa Rosenzweig requested to merge alyssa/mesa:nir/remove-locals-to-regs into main

All former users of registers arrays (intel, r600, ntt, ir3) have now converted to using register intrinsics. That means that register indirects are now unused. Delete them ... for spectacular savings in NIR's memory footprint. Highlight is nir_src, shrunk from 56 bytes to 40 bytes 😎

At this point, nir_register_src is pointless, but it should not be churned until it's ready to be deleted in whole (see #9051 (closed) for which backends are pending for that).

Merge request reports