Skip to content

Commit a0515c3

Browse files
committed
!fixup update VPMulAccumulateReduction::clone().
1 parent bfc5fc2 commit a0515c3

File tree

1 file changed

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

1 file changed

+2
-4
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2694,10 +2694,8 @@ class VPMulAccumulateReductionRecipe : public VPReductionRecipe {
26942694
MulAcc->getCondOp(), MulAcc->isOrdered(),
26952695
WrapFlagsTy(MulAcc->hasNoUnsignedWrap(), MulAcc->hasNoSignedWrap()),
26962696
MulAcc->getDebugLoc()),
2697-
ExtOp(MulAcc->getExtOpcode()), IsNonNeg(MulAcc->isNonNeg()) {
2698-
if (MulAcc->isExtended())
2699-
ResultTy = MulAcc->getResultType();
2700-
}
2697+
ExtOp(MulAcc->getExtOpcode()), IsNonNeg(MulAcc->isNonNeg()),
2698+
ResultTy(MulAcc->getResultType()) {}
27012699

27022700
public:
27032701
VPMulAccumulateReductionRecipe(VPReductionRecipe *R, VPWidenRecipe *Mul,

0 commit comments

Comments
 (0)