[Mlir-commits] [mlir] [mlir] Avoid rewriting unreachable blocks in the greedy driver (PR #225814)

Matthias Springer llvmlistbot at llvm.org
Fri Sep 25 20:25:16 PDT 2026


================

----------------
matthias-springer wrote:

Can this be detected with visitor notifications? And then just invalidate the entire region. I can think of three situations how it can happen:

1. Entry block is erased. `notifyBlockErased` can detect this case.
2. A new block is inserted at the beginning of the region. `notifyBlockInserted` can detect this case.
3. An existing block is moved to the beginning of the region. Same as Case 2. This would also trigger a `notifyBlockInserted`.

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


More information about the Mlir-commits mailing list