[llvm-branch-commits] [llvm] [LV] Bundle partial reductions inside VPExpressionRecipe (PR #147302)

Florian Hahn via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 18 02:10:13 PDT 2025


================
@@ -2470,7 +2470,8 @@ class VPReductionRecipe : public VPRecipeWithIRFlags {
 
   static inline bool classof(const VPRecipeBase *R) {
     return R->getVPDefID() == VPRecipeBase::VPReductionSC ||
-           R->getVPDefID() == VPRecipeBase::VPReductionEVLSC;
+           R->getVPDefID() == VPRecipeBase::VPReductionEVLSC ||
+           R->getVPDefID() == VPRecipeBase::VPPartialReductionSC;
----------------
fhahn wrote:

I guess this was missed before and only now is tested?

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


More information about the llvm-branch-commits mailing list