nir/dominance: fix comment

this function doesn't exist

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28463>
This commit is contained in:
Mike Blumenkrantz 2024-04-01 10:40:15 -04:00 committed by Marge Bot
parent 0851c30d16
commit 56cda23459

View file

@ -216,7 +216,7 @@ calc_dominance(struct nir_use_dominance_state *state,
/**
* Calculate dominance or post-dominance of the SSA use graph.
* The returned state must not be freed while dominance queries are being used.
* nir_free_use_dominance_state() frees the state.
* ralloc_free() frees the state.
*
* It clobbers nir_instr::index, which can't be changed while dominance queries
* are being used.