[Mlir-commits] [mlir] [mlir][linalg] Propagate filter tensor encoding in im2col (PR #160099)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Tue Sep 23 08:09:36 PDT 2025
================
@@ -435,9 +441,15 @@ rewriteInIm2Col(RewriterBase &rewriter, linalg::Conv2DNchwFchwOp convOp) {
auto loc = convOp.getLoc();
MLIRContext *context = rewriter.getContext();
+ if (!isa<RankedTensorType>(filterType))
+ return rewriter.notifyMatchFailure(
+ convOp, "expected filter type to be a ranked tensor");
----------------
banach-space wrote:
Assertions?
https://github.com/llvm/llvm-project/pull/160099
More information about the Mlir-commits
mailing list