@@ -4409,7 +4409,9 @@ VectorizationFactor LoopVectorizationPlanner::selectEpilogueVectorizationFactor(
44094409 }
44104410 // Check if the RemainingIterations is scalable.
44114411 const SCEV *KnownMinRemIter = nullptr , *EstimatedRemIter = nullptr ;
4412- bool ScalableRemIter = match (RemainingIterations, m_scev_c_Mul (m_SCEV (KnownMinRemIter), m_SCEVVScale ()));
4412+ bool ScalableRemIter =
4413+ match (RemainingIterations,
4414+ m_scev_c_Mul (m_SCEV (KnownMinRemIter), m_SCEVVScale ()));
44134415 if (ScalableRemIter)
44144416 EstimatedRemIter = SE.getMulExpr (
44154417 KnownMinRemIter,
@@ -4434,18 +4436,19 @@ VectorizationFactor LoopVectorizationPlanner::selectEpilogueVectorizationFactor(
44344436 // epilogue loop would be dead. Skip such factors.
44354437 if (ScalableRemIter == NextVF.Width .isScalable ()) {
44364438 if (SE.isKnownPredicate (CmpInst::ICMP_UGT,
4437- SE.getElementCount (TCType, NextVF.Width ),
4438- RemainingIterations))
4439+ SE.getElementCount (TCType, NextVF.Width ),
4440+ RemainingIterations))
44394441 continue ;
44404442 }
44414443 // Handle the case where NextVF and RemainingIterations are in different
44424444 // numerical spaces.
44434445 else if (NextVF.Width .isScalable ()) {
44444446 ElementCount EstimatedRuntimeNextVF = ElementCount::getFixed (
44454447 estimateElementCount (NextVF.Width , CM.getVScaleForTuning ()));
4446- if (SE.isKnownPredicate (CmpInst::ICMP_UGT,
4447- SE.getElementCount (TCType, EstimatedRuntimeNextVF),
4448- RemainingIterations))
4448+ if (SE.isKnownPredicate (
4449+ CmpInst::ICMP_UGT,
4450+ SE.getElementCount (TCType, EstimatedRuntimeNextVF),
4451+ RemainingIterations))
44494452 continue ;
44504453 } else {
44514454 if (SE.isKnownPredicate (CmpInst::ICMP_UGT,
0 commit comments