[llvm] [LoopVectorizer] Add support for partial reductions (PR #92418)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 08:24:15 PDT 2024
================
@@ -1962,6 +1970,35 @@ class VPReductionPHIRecipe : public VPHeaderPHIRecipe {
bool isInLoop() const { return IsInLoop; }
};
+class VPPartialReductionRecipe : public VPRecipeWithIRFlags {
----------------
fhahn wrote:
If this is a VPSingleDef recipe, VPSingleDefRecipe::classof needs to be updated
https://github.com/llvm/llvm-project/pull/92418
More information about the llvm-commits
mailing list