[Mlir-commits] [mlir] [mlir][vector] Add patterns to simplify chained reductions (PR #73048)
Jakub Kuderski
llvmlistbot at llvm.org
Tue Nov 21 18:46:17 PST 2023
================
@@ -147,6 +147,23 @@ void populateVectorTransferCollapseInnerMostContiguousDimsPatterns(
void populateSinkVectorBroadcastPatterns(RewritePatternSet &patterns,
PatternBenefit benefit = 1);
+/// Patterns that fold chained vector reductions. These patterns assume that
+/// vector addition (e.g., `arith.addf` with vector operands) is cheaper than
----------------
kuhar wrote:
Clarified. In principle yes, but currently only addition is handled
https://github.com/llvm/llvm-project/pull/73048
More information about the Mlir-commits
mailing list