[flang-commits] [flang] [llvm] [mlir] [mlir][CSE] Add pruneDeadOps to CSE pass (PR #193778)

Hocky Yudhiono via flang-commits flang-commits at lists.llvm.org
Thu Apr 23 20:59:36 PDT 2026


================
@@ -78,6 +83,20 @@ class ScopedHashTableVal {
     this->~ScopedHashTableVal();
     Allocator.Deallocate(this);
   }
+
----------------
hockyy wrote:

Maybe create something like:

```suggestion

/// This method erases an entry and adjusts horizontal and vertical pointer of the value.
/// PrevInScope is needed to maintain the linked-list of insertions that is done in a scope
```
^ comments can be adjusted

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


More information about the flang-commits mailing list