[Mlir-commits] [mlir] [mlir][scf] fuse `tensor.pack` as consumer (PR #103715)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Aug 15 14:05:38 PDT 2024


================
@@ -246,6 +246,97 @@ struct PackOpTiling
       return failure();
     return tilingResult.value();
   }
+
+  /// Method to return the position of iteration domain tile computed by the
+  /// tiled operation. In current `tensor.pack` context, the `resultOffsets` and
+  /// `resultSizes` only cover outer dimensions.
+  LogicalResult getIterationDomainTileFromOperandTile(
+      Operation *op, OpBuilder &b, unsigned operandNumber,
----------------
MaheshRavishankar wrote:

You should be checking the operand number somewhere?

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


More information about the Mlir-commits mailing list