projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5278e9d
)
intel/nir: Run copy-prop and DCE after lower_bool_to_int32
author
Jason Ekstrand
<jason@jlekstrand.net>
Fri, 27 Mar 2020 16:05:27 +0000
(11:05 -0500)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 30 Mar 2020 15:46:19 +0000
(15:46 +0000)
No shader-db impact on ICL with iris.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4338>
src/intel/compiler/brw_nir.c
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_nir.c
b/src/intel/compiler/brw_nir.c
index 9e8ae3b52a1fa4e2824903285640b8e1cf81ce12..25395747c13d94cfe68914195b1ff90ea3d7708e 100644
(file)
--- 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);