[flang-commits] [mlir] [flang] [mlir][TilingInterface] Use `LoopLikeOpInterface` in tiling using SCF to unify tiling with `scf.for` and `scf.forall`. (PR #77874)
Mehdi Amini via flang-commits
flang-commits at lists.llvm.org
Thu Jan 18 00:48:10 PST 2024
================
@@ -584,6 +588,63 @@ ForOp::replaceWithAdditionalYields(RewriterBase &rewriter,
return cast<LoopLikeOpInterface>(newLoop.getOperation());
}
+FailureOr<LoopLikeOpInterface> ForOp::yieldTiledValuesAndReplace(
+ RewriterBase &rewriter, ValueRange newInitOperands,
+ const YieldTiledValuesFn &yieldTiledValuesFn) {
----------------
joker-eph wrote:
```suggestion
YieldTiledValuesFn yieldTiledValuesFn) {
```
https://github.com/llvm/llvm-project/pull/77874
More information about the flang-commits
mailing list