[Mlir-commits] [mlir] [mlir][linalg] Vectorization support for convolution of i1 type (PR #109480)

Han-Chung Wang llvmlistbot at llvm.org
Mon Sep 23 09:56:37 PDT 2024


================
@@ -3226,18 +3228,24 @@ struct Conv1DGenerator
   }
 
   // Create a contraction: lhs{n, w, c} * rhs{c, f} -> res{n, w, f}
-  Value conv1dSliceAsContraction(RewriterBase &rewriter, Location loc,
-                                 Value lhs, Value rhs, Value res) {
+  Value
+  conv1dSliceAsContraction(RewriterBase &rewriter, Location loc, Value lhs,
+                           Value rhs, Value res,
+                           std::optional<vector::CombiningKind> maybeKind) {
----------------
hanhanW wrote:

I think we don't need to add the `maybeKind` argument because it is already captured as a data member. 

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


More information about the Mlir-commits mailing list