Series:
Reviewed-by: Timothy Arceri
On 18/12/18 3:44 pm, Jason Ekstrand wrote:
Instead of going all the way back to the variable, just look at the
deref. The modes are guaranteed to be the same by nir_validate whenever
the variable can be found. This fixes clear_unused_for_modes for
derefs t
Instead of going all the way back to the variable, just look at the
deref. The modes are guaranteed to be the same by nir_validate whenever
the variable can be found. This fixes clear_unused_for_modes for
derefs that don't have an accessible variable.
---
src/compiler/nir/nir_opt_dead_write_vars