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

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 10:25:26 PDT 2024


================
@@ -3597,6 +3656,11 @@ class VPlan {
   /// been modeled in VPlan directly.
   DenseMap<const SCEV *, VPValue *> SCEVToExpansion;
 
+  /// Stores the set of reduction exit instructions that will be scaled to
+  /// a smaller VF in this plan via partial reductions.
+  DenseMap<const Instruction *, PartialReductionChain>
----------------
SamTebbs33 wrote:

That's much better, thanks.

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


More information about the llvm-commits mailing list