[Mlir-commits] [mlir] [mlir][TilingInterface] Use `LoopLikeOpInterface` in tiling using SCF to unify tiling with `scf.for` and `scf.forall`. (PR #77874)

Mehdi Amini llvmlistbot at llvm.org
Wed Jan 17 23:57:23 PST 2024


================
@@ -218,6 +221,53 @@ def LoopLikeOpInterface : OpInterface<"LoopLikeOpInterface"> {
         return ::mlir::failure();
       }]
     >,
+    InterfaceMethod<[{
+        Append the specified additional "init" operands: replace this loop with
+        a new loop that has the additional init operands. The loop body of
+        this loop is moved over to the new loop.
+
+        This method is similar to `replaceWithAdditionalYields` but instead of
+        returning the value that is actually yielded, this returns the tiles of
----------------
joker-eph wrote:

This does not seem to correctly describe the method: it returns a LoopLikeOpInterface but here you're saying "this returns the tiles of the values that are yielded"?

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


More information about the Mlir-commits mailing list