Skip to content

agx: Re-index nir defs to reduce memory usage

Christian Gmeiner requested to merge austriancoder/mesa:asahi-index-defs into main

What does this MR do and why?

agx: Re-index nir defs to reduce memory usage

nir_index_ssa_defs(..) will re-index the function impl and will update ssa_alloc. In almost all cases this will result in a lower ctx->alloc number which reduces memory usage in compiler passes that are using ctx-alloc to allocate memory.

Signed-off-by: Christian Gmeiner cgmeiner@igalia.com

Merge request reports

Loading