[Mlir-commits] [mlir] [mlir][linalg] Vectorization support for convolution of i1 type (PR #109480)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Mon Sep 23 01:05:56 PDT 2024
================
@@ -2947,12 +2947,14 @@ struct Conv1DGenerator
if (!setOperKind(reduceOp))
return;
- auto maybeKind = getCombinerOpKind(reduceOp);
- if (!maybeKind || (*maybeKind != vector::CombiningKind::ADD &&
+ maybeKind = getCombinerOpKind(reduceOp);
+ // Typically convolution will have a `Add` CombiningKind but for i1 type it
+ // can get strength reduced to `OR` which is also supported.
----------------
banach-space wrote:
Do you know _where_ strength reduction happens?
https://github.com/llvm/llvm-project/pull/109480
More information about the Mlir-commits
mailing list