[Mlir-commits] [mlir] [mlir][transforms] Process RegionBranchOp with empty region (PR #123895)

Jeff Niu llvmlistbot at llvm.org
Fri Jan 31 12:19:46 PST 2025


Mogball wrote:

An alternate solution would be to change the code here to look only at the reachable regions by traversing the region successors. If this happens to be the only pass with this issue, I'm okay with the original change if `scf.if` containing an empty region is intentional.

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


More information about the Mlir-commits mailing list