[Mlir-commits] [mlir] [MLIR][NFC] Add allow Insert/extract slice option to pack/unpack op (PR #117340)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Mon Nov 25 06:21:21 PST 2024
================
@@ -295,7 +296,7 @@ FailureOr<LowerPackResult> linalg::lowerPack(RewriterBase &rewriter,
llvm::interleaveComma(stripMinedShape, DBGS() << "stripMinedShape: ");
DBGSNL(); DBGS() << "collapsed type: " << collapsed; DBGSNL(););
- if (packOp.isLikePad()) {
+ if (allowInsertSliceLowering && packOp.isLikePad()) {
----------------
banach-space wrote:
Give where this check is used ... I feels like the name is a bit misleading. Shouldn't this be more like ... `lowerPad`?
https://github.com/llvm/llvm-project/pull/117340
More information about the Mlir-commits
mailing list