[Mlir-commits] [mlir] [MLIR] Erase unreachable blocks before applying patterns in the greedy rewriter (PR #153957)

Mehdi Amini llvmlistbot at llvm.org
Sun Aug 17 04:27:24 PDT 2025


joker-eph wrote:

> Should we also add it to the walk and apply driver?

Kind of: I'm working on a separate patch to the walk-and-apply driver to skip unreachable code instead. 
This is because it is defined as a lightweight straightforward pattern applicator which explicitly documents that it does not remove dead code (maybe it should?)

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


More information about the Mlir-commits mailing list