We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d1200f commit 9e97bd0Copy full SHA for 9e97bd0
llvm/lib/Transforms/Vectorize/VPlan.h
@@ -2638,10 +2638,8 @@ class VPMulAccumulateReductionRecipe : public VPReductionRecipe {
2638
MulAcc->getCondOp(), MulAcc->isOrdered(),
2639
WrapFlagsTy(MulAcc->hasNoUnsignedWrap(), MulAcc->hasNoSignedWrap()),
2640
MulAcc->getDebugLoc()),
2641
- ExtOp(MulAcc->getExtOpcode()), IsNonNeg(MulAcc->isNonNeg()) {
2642
- if (MulAcc->isExtended())
2643
- ResultTy = MulAcc->getResultType();
2644
- }
+ ExtOp(MulAcc->getExtOpcode()), IsNonNeg(MulAcc->isNonNeg()),
+ ResultTy(MulAcc->getResultType()) {}
2645
2646
public:
2647
VPMulAccumulateReductionRecipe(VPReductionRecipe *R, VPWidenRecipe *Mul,
0 commit comments