[Mlir-commits] [mlir] Reland "[mlir][reducer] Add eraseRedundantBlocksInRegion and getSuccessorForwardOperands API to BranchOpInterface" (PR #189253)

Mehdi Amini llvmlistbot at llvm.org
Mon Apr 6 14:33:42 PDT 2026


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

----------------
joker-eph wrote:

```suggestion
    for (int i = llvm::seq<int>(0, numSuccessor)) {
```

Nit: this makes the iteration space more obvious (`i` can't be modified in the loop).

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


More information about the Mlir-commits mailing list