nir/gcm: Call nir_metadata_preserve

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Jason Ekstrand
2016-08-10 14:34:37 -07:00
parent 02675622b0
commit 99ff4b3eb2

View File

@@ -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