[Mlir-commits] [mlir] [mlir][bufferization] Relax happens-before analysis (PR #223777)

Colin De Vlieghere llvmlistbot at llvm.org
Fri Sep 18 00:14:13 PDT 2026


Cubevoid wrote:

Thanks for the review @matthias-springer, I've addressed the latest round of comments and added a new commit so it's easier to see the diff. Biggest change is that `canUseOpDominanceDueToBlocks` now considers parent regions of the ops when doing the reachability check, so that it properly returns false in cases like the one you gave where there are nested regions with CFGs.

I've also optimized the CFGReachabilityCache a bit by effectively hashing the "barrier" set using the block pointers so it can be used as a map key, avoiding the linear scan over the entries.

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


More information about the Mlir-commits mailing list