[Mesa-dev] [PATCH 1/3] nir/gcm: Call nir_metadata_preserve
Jason Ekstrand
jason at jlekstrand.net
Tue Sep 6 18:08:56 UTC 2016
---
src/compiler/nir/nir_opt_gcm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/compiler/nir/nir_opt_gcm.c b/src/compiler/nir/nir_opt_gcm.c
index 84e32ef..02a9348 100644
--- 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
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list