[Mlir-commits] [mlir] [MLIR] Prevent invalid IR from being passed outside of RemoveDeadValues (PR #121079)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Dec 31 09:11:09 PST 2024


================
@@ -617,23 +719,33 @@ void RemoveDeadValues::runOnOperation() {
   auto &la = getAnalysis<RunLivenessAnalysis>();
   Operation *module = getOperation();
 
+  // Tracks values eligible for erasure - complements liveness analysis to
+  // identify "droppable" values.
+  DenseSet<Value> deletionSet;
----------------
banach-space wrote:

Perhaps just `deadVals`?

https://github.com/llvm/llvm-project/pull/121079


More information about the Mlir-commits mailing list