Noted by @jekstrand in review of the SSA live index changes.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6408>
nir_cf_node_get_function(&instr->block->cf_node);
def->index = impl->ssa_alloc++;
+
+ impl->valid_metadata &= ~nir_metadata_live_ssa_defs;
}
return true;
nir_cf_node_get_function(&instr->block->cf_node);
def->index = impl->ssa_alloc++;
+
+ impl->valid_metadata &= ~nir_metadata_live_ssa_defs;
} else {
def->index = UINT_MAX;
}