[llvm] [LoopVectorizer] Add support for partial reductions (PR #92418)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 08:24:17 PDT 2024


================
@@ -331,6 +344,8 @@ class LoopVectorizationPlanner {
   /// Profitable vector factors.
   SmallVector<VectorizationFactor, 8> ProfitableVFs;
 
+  SmallVector<PartialReductionChain> PartialReductionChains;
----------------
fhahn wrote:

Is this needed in the scope of LVP or can be limited to constructing the VPlans?

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


More information about the llvm-commits mailing list