nir/use_dominance: invalidate nir_metadata_instr_index

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33354>
This commit is contained in:
Rhys Perry 2025-01-10 16:48:56 +00:00 committed by Marge Bot
parent 8720894494
commit f42b72a08f

View file

@ -288,6 +288,8 @@ nir_calc_use_dominance_impl(nir_function_impl *impl, bool post_dominance)
}
}
nir_metadata_preserve(impl, nir_metadata_all & ~nir_metadata_instr_index);
return state;
}