summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/intel/compiler/brw_nir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
index a906a026042..ce865e2ce71 100644
--- a/src/intel/compiler/brw_nir.c
+++ b/src/intel/compiler/brw_nir.c
@@ -715,8 +715,6 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir)
/* Get rid of split copies */
nir = brw_nir_optimize(nir, compiler, is_scalar, false);
- OPT(nir_remove_dead_variables, nir_var_local);
-
return nir;
}