nir: remove dead code from copy_prop_vars
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 19 Dec 2018 23:23:28 +0000 (15:23 -0800)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 4 Jan 2019 23:18:41 +0000 (15:18 -0800)
commitbbf9ee9b18b5917632e6bb74e5859398e6cea224
treedcc5dbf1dd847d4c038b2dca0751c5bc82d46486
parent31e4c9ce400341df9b0136419b3b3c73b8c9eb7e
nir: remove dead code from copy_prop_vars

When copy_prop_vars also took care of dead write handling, intrin was
used as part of store_to_entry.  Now it isn't, so this assignment
isn't used really used.  Add a comment clarifying what happens to
intrin.

Fixes: 4dfa7adc100 "nir: Remove handling of dead writes from copy_prop_vars"
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_opt_copy_prop_vars.c