Skip to content

Commit a69b79a

Browse files
committed
Add to VPReductionRecipe::classof
1 parent 57a95ed commit a69b79a

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
@@ -2290,7 +2290,8 @@ class VPReductionRecipe : public VPRecipeWithIRFlags {
22902290
return R->getVPDefID() == VPRecipeBase::VPReductionSC ||
22912291
R->getVPDefID() == VPRecipeBase::VPReductionEVLSC ||
22922292
R->getVPDefID() == VPRecipeBase::VPExtendedReductionSC ||
2293-
R->getVPDefID() == VPRecipeBase::VPMulAccumulateReductionSC;
2293+
R->getVPDefID() == VPRecipeBase::VPMulAccumulateReductionSC ||
2294+
R->getVPDefID() == VPRecipeBase::VPPartialReductionSC;
22942295
}
22952296

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

0 commit comments

Comments
 (0)