From 2cb9cc56d53c20109c1deccd4e12cf2ee015aafb Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 27 Mar 2020 11:05:27 -0500 Subject: [PATCH] intel/nir: Run copy-prop and DCE after lower_bool_to_int32 No shader-db impact on ICL with iris. Reviewed-by: Kenneth Graunke Part-of: --- src/intel/compiler/brw_nir.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index 9e8ae3b52a1..25395747c13 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -927,6 +927,8 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler, OPT(nir_opt_move, nir_move_comparisons); OPT(nir_lower_bool_to_int32); + OPT(nir_copy_prop); + OPT(nir_opt_dce); OPT(nir_lower_locals_to_regs); -- 2.30.2