[Mlir-commits] [mlir] [Linalg] Add basic infra to add matchers for linalg.*conv*/*pool* ops (PR #163724)

Andrzej WarzyƄski llvmlistbot at llvm.org
Sat Oct 25 17:26:59 PDT 2025


================
@@ -237,6 +237,80 @@ static FailureOr<LinalgOp> specializeLinalgContractions(RewriterBase &rewriter,
   return replaceWithMatmulVariant<MatmulOp>(rewriter, genericOp);
 }
 
+/// Utility to create a `genericOp` with a convolution op of type `ConvOpTy`
+/// with `dilations` and `strides`.
----------------
banach-space wrote:

This comment is off - we are not creating a `genericOp`, are we? We are specialising a `genericOp` with a named-op, no?

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


More information about the Mlir-commits mailing list