[Mlir-commits] [mlir] [mlir] Avoid rewriting unreachable blocks in the greedy driver (PR #225814)
Mehdi Amini
llvmlistbot at llvm.org
Fri Sep 25 03:13:39 PDT 2026
================
----------------
joker-eph wrote:
> But when you already know that your greedy pattern rewrite never sees unstructured control flow (or multiple blocks per region), you could skip this walk entire and don't need the reachability bookkeeping.
I'm skeptical of those approaches, though. This seems like design smell to me, kind of thing to keep as a last resort.
PTAL though, there shouldn't be a full IR walk anymore. Measurements don't show impact beyond noise right now (unless very larges Unstructured CFGs )
https://github.com/llvm/llvm-project/pull/225814
More information about the Mlir-commits
mailing list