[Mlir-commits] [mlir] [mlir][SCF] Modernize `coalesceLoops` method to handle `scf.for` loops with iter_args (PR #87019)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Fri Mar 29 08:06:49 PDT 2024
================
@@ -100,11 +100,16 @@ getSCFMinMaxExpr(Value value, SmallVectorImpl<Value> &dims,
/// `loops` contains a list of perfectly nested loops with bounds and steps
/// independent of any loop induction variable involved in the nest.
LogicalResult coalesceLoops(MutableArrayRef<scf::ForOp> loops);
+LogicalResult coalesceLoops(RewriterBase &rewriter,
+ MutableArrayRef<scf::ForOp>);
+
+/// Walk an affine.for to find a band to coalesce.
----------------
ftynse wrote:
```suggestion
/// Walk an scf.for to find a band to coalesce.
```
https://github.com/llvm/llvm-project/pull/87019
More information about the Mlir-commits
mailing list