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

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 06:35:16 PDT 2024


================
@@ -2098,23 +2099,30 @@ class VPReductionPHIRecipe : public VPHeaderPHIRecipe {
   /// The phi is part of an ordered reduction. Requires IsInLoop to be true.
   bool IsOrdered;
 
+  /// The scaling difference between the size of the output of the entire
+  /// reduction and the size of the inputs When expanding the reduction PHI, the
----------------
SamTebbs33 wrote:

The formatter messed this comment up. Fixed now.

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


More information about the llvm-commits mailing list