From 24cdbbdaa206100fa2ec78e3560769c3e211bcaa Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 1 Mar 2024 17:27:10 -0800 Subject: [PATCH] intel/brw: Delete stray nir_opt_dce No shader-db or fossil-db changes on any Intel platform. Fixes: f76f4be301e ("intel/compiler: move gen5 final pass to actually be final pass") Reviewed-by: Kenneth Graunke Part-of: --- src/intel/compiler/brw_nir.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index 31b0255c3b5..2e2014ec7a9 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -1820,8 +1820,6 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler, if (OPT(nir_opt_rematerialize_compares)) OPT(nir_opt_dce); - OPT(nir_opt_dce); - /* The mesh stages require this pass to be called at the last minute, * but if anything is done by it, it will also constant fold, and that * undoes the work done by nir_trivialize_registers, so call it right