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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Mar 28 23:23:59 PDT 2024


================
@@ -132,6 +132,59 @@ struct LinalgOpTilingInterface
     return TilingResult{{tiledOp}, SmallVector<Value>(tiledOp->getResults())};
   }
 
+  void getMappedOffsetAndSize(Operation *op, OpBuilder &b,
----------------
MaheshRavishankar wrote:

Nit: just make the operand `LinalgOp linalgOp` type instead of `Operation *op`. You can then do 

```
auto tilingInterfaceOp = cast<TilingInterface>(linalgOp.getOperation());
```

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


More information about the Mlir-commits mailing list