Skip to content

Commit 8290d2f

Browse files
committed
Add to VPReductionRecipe::classof
1 parent 6ec61b2 commit 8290d2f

File tree

1 file changed

+2
-1
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+2
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2470,7 +2470,8 @@ class VPReductionRecipe : public VPRecipeWithIRFlags {
24702470
return R->getVPDefID() == VPRecipeBase::VPReductionSC ||
24712471
R->getVPDefID() == VPRecipeBase::VPReductionEVLSC ||
24722472
R->getVPDefID() == VPRecipeBase::VPExtendedReductionSC ||
2473-
R->getVPDefID() == VPRecipeBase::VPMulAccumulateReductionSC;
2473+
R->getVPDefID() == VPRecipeBase::VPMulAccumulateReductionSC ||
2474+
R->getVPDefID() == VPRecipeBase::VPPartialReductionSC;
24742475
}
24752476

24762477
static inline bool classof(const VPUser *U) {

0 commit comments

Comments
 (0)