intel/compiler: Remove redundant nir_remove_dead_variables call
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Sep 2018 18:20:54 +0000 (13:20 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 4 Sep 2018 14:03:16 +0000 (09:03 -0500)
commit67571ae79676c09b36f2e27452ed1d09697791ba
treeac22118566a6917fc61f00b003c1551014025708
parent07a2098a708a2bdba1697cbfeb435533b828d5c4
intel/compiler: Remove redundant nir_remove_dead_variables call

As of 07a2098a708a2, brw_nir_optimize calls nir_remove_dead_variables as
the last optimization.  Doing it again is just pointless.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/compiler/brw_nir.c