[Mlir-commits] [mlir] [mlir][linalg] Enable fuse consumer (PR #85528)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Thu Apr 18 04:12:58 PDT 2024


================
@@ -131,6 +150,42 @@ def TilingInterface : OpInterface<"TilingInterface"> {
           return failure();
         }]
       >,
+      InterfaceMethod<
+        /*desc=*/[{
+          Method to generate the tiled implementation of an operation from
+          operand tile position.
+
+          Generates the IR that computes the tiled implementation of an
+          operation from operand tile.  The `offsets` and `sizes`
+          describe the tile of the operand required. This is different from
+          `getTiledImplementation` which generates the tiled
+          implementation of the operation given a tile of the
+          iteration space. This method generates a tiled
+          implementation of the operation based on the tile of the
+          operand required. This method enables fusion consumer by using
----------------
ftynse wrote:

```suggestion
          operand required. This method enables consumer fusion by using
```

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


More information about the Mlir-commits mailing list