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

Matthias Springer llvmlistbot at llvm.org
Wed Sep 23 19:50:24 PDT 2026


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

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

This looks potentially expensive. You have extra IR traversals even if the IR doesn't have any unstructured control flow. Can we add a `GreedyRewriteConfig::mayHaveUnstructuredControlFlow` flag (or similar) to deactivate the reachability tracking? (Can be enabled by default.)

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


More information about the Mlir-commits mailing list