projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07a2098
)
intel/compiler: Remove redundant nir_remove_dead_variables call
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 3 Sep 2018 18:20:54 +0000
(13:20 -0500)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 4 Sep 2018 14:03:16 +0000
(09:03 -0500)
As of
07a2098a708a2
, brw_nir_optimize calls nir_remove_dead_variables as
the last optimization. Doing it again is just pointless.
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
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 a906a02604219a6bb4963c123c1ae7a0d15d932f..ce865e2ce7112f036ce4af8bcebf2aec6f81ae4d 100644
(file)
--- 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;
}