[Mlir-commits] [mlir] [Linalg] Update Vectorization to work with both named as well as generic conv ops (PR #176339)
Han-Chung Wang
llvmlistbot at llvm.org
Fri Jan 16 14:08:24 PST 2026
================
@@ -2736,7 +2738,8 @@ FailureOr<VectorizationResult> mlir::linalg::vectorize(
// TODO: isaConvolutionOpInterface that can also infer from
// generic features. Will require stride/dilation attributes
// inference.
- if (isa<ConvolutionOpInterface>(linalgOp.getOperation())) {
+ if (isa<ConvolutionOpInterface>(linalgOp.getOperation()) ||
+ isaConvolutionOpInterface(linalgOp)) {
----------------
hanhanW wrote:
same here; the above comment should be updated?
https://github.com/llvm/llvm-project/pull/176339
More information about the Mlir-commits
mailing list