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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 11:24:28 PST 2024


================
@@ -2327,23 +2328,31 @@ 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 input.
+
----------------
fhahn wrote:

```suggestion
///
```

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


More information about the llvm-commits mailing list