From 0ddac113f87ff12c6d251a2cc39e39a3ae784583 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 3 Aug 2021 10:16:58 -0500 Subject: [PATCH] nir: Removing uses of SSA defs destroys SSA liveness The liveness information will be a superset of real liveness so it's unlikely something will explode if it tries to use it. However, it is out-of-date and should be re-run if someone really wants it. Reviewed-by: Emma Anholt Reviewed-by: Alyssa Rosenzweig Part-of: --- src/compiler/nir/nir.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 47e4658ceb0..2789080d1df 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -3100,7 +3100,8 @@ typedef enum { * - nir_block::live_out * * A pass can preserve this metadata type if it never adds or removes any - * SSA defs (most passes shouldn't preserve this metadata type). + * SSA defs or uses of SSA defs (most passes shouldn't preserve this + * metadata type). */ nir_metadata_live_ssa_defs = 0x4,