[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:30 PST 2024


================
@@ -8663,6 +8663,113 @@ VPReplicateRecipe *VPRecipeBuilder::handleReplication(Instruction *I,
   return Recipe;
 }
 
+void VPRecipeBuilder::collectScaledReductions(VFRange &Range) {
+  // Find all possible partial reductions
----------------
fhahn wrote:

nit: 
```suggestion
  // Find all possible partial reductions.
```

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


More information about the llvm-commits mailing list