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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Aug 15 19:47:16 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,
----------------
Yun-Fly wrote:

Ok, I have added check. BTW, it is not used in fact.

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


More information about the Mlir-commits mailing list