From: Jason Ekstrand Date: Wed, 10 Aug 2016 21:34:37 +0000 (-0700) Subject: nir/gcm: Call nir_metadata_preserve X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99ff4b3eb21ccc5df670e4dc62073cee96d07f23;p=mesa.git nir/gcm: Call nir_metadata_preserve Signed-off-by: Jason Ekstrand Reviewed-by: Eric Anholt Reviewed-by: Kenneth Graunke --- diff --git a/src/compiler/nir/nir_opt_gcm.c b/src/compiler/nir/nir_opt_gcm.c index 84e32ef61a2..02a93489eba 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