[Mesa-dev] [PATCH v3 023/104] nir/deref: Add a deref cleanup function
Caio Marcelo de Oliveira Filho
caio.oliveira at intel.com
Fri Apr 6 21:05:27 UTC 2018
On Tue, Apr 03, 2018 at 11:32:50AM -0700, Jason Ekstrand wrote:
> Sometimes it's useful for a pass to be able to clean up its own derefs
> instead of waiting for DCE. This little helper makes it very easy.
> ---
> src/compiler/nir/nir.h | 2 ++
> src/compiler/nir/nir_deref.c | 13 +++++++++++++
> 2 files changed, 15 insertions(+)
The helper is used in earlier patches, so maybe reorder. If I'm not
mistaken it is used as early as patch 13 ("nir: Support deref
instructions in remove_dead_variables").
Thanks,
Caio
More information about the mesa-dev
mailing list