projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0267562
)
nir/gcm: Call nir_metadata_preserve
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 10 Aug 2016 21:34:37 +0000
(14:34 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 9 Sep 2016 03:53:01 +0000
(20:53 -0700)
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_opt_gcm.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_opt_gcm.c
b/src/compiler/nir/nir_opt_gcm.c
index 84e32ef61a2329e3b4c4a137e317d2ea549d9eca..02a93489ebaf97e9eeff83ac8d62654c9d56ac39 100644
(file)
--- a/
src/compiler/nir/nir_opt_gcm.c
+++ b/
src/compiler/nir/nir_opt_gcm.c
@@
-483,6
+483,9
@@
opt_gcm_impl(nir_function_impl *impl)
}
ralloc_free(state.blocks);
+
+ nir_metadata_preserve(impl, nir_metadata_block_index |
+ nir_metadata_dominance);
}
void