[Mlir-commits] [mlir] [Linalg] Add basic infra to add matchers for linalg.*conv*/*pool* ops (PR #163724)
Abhishek Varma
llvmlistbot at llvm.org
Fri Oct 24 01:01:16 PDT 2025
================
@@ -316,7 +386,9 @@ FailureOr<LinalgOp> mlir::linalg::specializeGenericOp(RewriterBase &rewriter,
if (isaContractionOpInterface(genericOp)) {
return specializeLinalgContractions(rewriter, genericOp);
}
- return failure();
+
+ // Convolution - e.g. *conv/pooling*
+ return inferAndSpecializeToConvolutionOp(rewriter, genericOp);
----------------
Abhishek-Varma wrote:
Yep. I did do that initially but removed it in the last patch. Have added it again in the current push along with the new name `specializeLinalgConvolutions` as you suggested. :)
https://github.com/llvm/llvm-project/pull/163724
More information about the Mlir-commits
mailing list