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

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 09:36:51 PST 2024


================
@@ -111,20 +139,46 @@ class VPRecipeBuilder {
   VPHistogramRecipe *tryToWidenHistogram(const HistogramInfo *HI,
                                          ArrayRef<VPValue *> Operands);
 
+  /// Examines reduction operations to see if the target can use a cheaper
+  /// operation with a wider per-iteration input VF and narrower PHI VF.
+  /// Returns a struct containing the ratio between the two VFs and other cached
----------------
SamTebbs33 wrote:

Fixed.

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


More information about the llvm-commits mailing list