[Mlir-commits] [mlir] [MLIR][Linalg] pack, unpack to take memref inputs (PR #129036)
Han-Chung Wang
llvmlistbot at llvm.org
Tue Apr 1 15:22:10 PDT 2025
================
@@ -91,6 +91,11 @@ transposePackedMatmul(RewriterBase &rewriter, linalg::LinalgOp linalgOp,
linalg::PackOp packOp, AffineMap operandMap,
ArrayRef<unsigned> blocksStartDimPos,
bool transposeOuterBlocks, bool transposeInnerBlocks) {
+ // TODO(issues/129004): Support MemRef PackOp. Temporarily return failure.
+ if (!packOp.hasPureTensorSemantics()) {
+ return failure();
+ }
----------------
hanhanW wrote:
Style nit 1: do not reference issue ID in TODO, I think it is LLVM style.
Style nit 2: do not use braces for the simple single-statement: https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements
https://github.com/llvm/llvm-project/pull/129036
More information about the Mlir-commits
mailing list