[Mlir-commits] [mlir] [Linalg] Add matchers to infer which Convolution Op a given linalg.generic is (PR #163374)

Abhishek Varma llvmlistbot at llvm.org
Wed Oct 15 01:48:01 PDT 2025


Abhishek-Varma wrote:

I tried exposing a single API, so now with just one function name exposed we should be able to achieve the goal of this PR :-
```
template <typename ConvOpTy>
bool isaConvolutionOpOfType(LinalgOp op,
                            SmallVector<int64_t> *dilations = nullptr,
                            SmallVector<int64_t> *strides = nullptr);
```

Let me know if this looks okay. Have updated the description of the PR slightly.

CC: @rengolin @hanhanW 

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


More information about the Mlir-commits mailing list