From 56cda234599a68497cef7358da6c3abe1d0cde9e Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 1 Apr 2024 10:40:15 -0400 Subject: [PATCH] nir/dominance: fix comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this function doesn't exist Reviewed-by: Ian Romanick Reviewed-by: Marek Olšák Part-of: --- src/compiler/nir/nir_use_dominance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/nir/nir_use_dominance.c b/src/compiler/nir/nir_use_dominance.c index 2f4a724e9c2..217e903454c 100644 --- a/src/compiler/nir/nir_use_dominance.c +++ b/src/compiler/nir/nir_use_dominance.c @@ -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.