[Mlir-commits] [mlir] [MLIR] Prevent invalid IR from being passed outside of RemoveDeadValues (PR #121079)
Renat Idrisov
llvmlistbot at llvm.org
Wed Jan 1 11:22:49 PST 2025
================
@@ -72,15 +72,50 @@ using namespace mlir::dataflow;
namespace {
+// Set of structures below to be filled with operations and arguments to erase.
+// This is done to separate analysis and tree modification phases,
+// otherwise analysis is operating on half-deleted tree which is incorrect.
+
+struct CleanupFunction {
----------------
parsifal-47 wrote:
sure, updated all these structures to "<something>ToCleanup" style, thank you!
https://github.com/llvm/llvm-project/pull/121079
More information about the Mlir-commits
mailing list