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
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev