intel/elk: Delete stray nir_opt_dce

No shader-db changes on any Intel platform.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28136>
This commit is contained in:
Ian Romanick
2024-03-01 17:28:05 -08:00
committed by Marge Bot
parent 24cdbbdaa2
commit 0b67d3d909

View File

@@ -1542,8 +1542,6 @@ elk_postprocess_nir(nir_shader *nir, const struct elk_compiler *compiler,
if (OPT(nir_opt_rematerialize_compares))
OPT(nir_opt_dce);
OPT(nir_opt_dce);
nir_trivialize_registers(nir);
/* This is the last pass we run before we start emitting stuff. It