[Mlir-commits] [mlir] [MLIR] Prevent invalid IR from being passed outside of RemoveDeadValues (PR #121079)
Renat Idrisov
llvmlistbot at llvm.org
Fri Jan 3 13:25:48 PST 2025
================
@@ -617,23 +736,34 @@ void RemoveDeadValues::runOnOperation() {
auto &la = getAnalysis<RunLivenessAnalysis>();
Operation *module = getOperation();
+ // Tracks values eligible for erasure - complements liveness analysis to
+ // identify "droppable" values.
+ DenseSet<Value> deadVals;
+
+ // Maintains a list of Ops, values, branches, etc., slated for cleanup at the
+ // end of this pass.
+ RDVFinalCleanupList finalRDVFinalCleanupList;
----------------
parsifal-47 wrote:
done, thank you!
https://github.com/llvm/llvm-project/pull/121079
More information about the Mlir-commits
mailing list