@@ -1658,7 +1658,7 @@ static bool simplifyBranchConditionForVFAndUF(VPlan &Plan, ElementCount BestVF,
16581658 auto *Term = &ExitingVPBB->back ();
16591659 VPValue *Cond;
16601660 ScalarEvolution &SE = *PSE.getSE ();
1661- if (match (Term, m_BranchOnCount (m_VPValue (), m_VPValue () )) ||
1661+ if (match (Term, m_BranchOnCount ()) ||
16621662 match (Term, m_BranchOnCond (m_Not (m_ActiveLaneMask (
16631663 m_VPValue (), m_VPValue (), m_VPValue ()))))) {
16641664 // Try to simplify the branch condition if TC <= VF * UF when the latch
@@ -3398,9 +3398,8 @@ void VPlanTransforms::handleUncountableEarlyExit(VPBasicBlock *EarlyExitingVPBB,
33983398
33993399 VPBuilder Builder (LatchVPBB->getTerminator ());
34003400 VPBlockBase *TrueSucc = EarlyExitingVPBB->getSuccessors ()[0 ];
3401- assert (
3402- match (EarlyExitingVPBB->getTerminator (), m_BranchOnCond (m_VPValue ())) &&
3403- " Terminator must be be BranchOnCond" );
3401+ assert (match (EarlyExitingVPBB->getTerminator (), m_BranchOnCond ()) &&
3402+ " Terminator must be be BranchOnCond" );
34043403 VPValue *CondOfEarlyExitingVPBB =
34053404 EarlyExitingVPBB->getTerminator ()->getOperand (0 );
34063405 auto *CondToEarlyExit = TrueSucc == EarlyExitVPBB
@@ -4009,8 +4008,7 @@ void VPlanTransforms::narrowInterleaveGroups(VPlan &Plan, ElementCount VF,
40094008 unsigned VFMinVal = VF.getKnownMinValue ();
40104009 SmallVector<VPInterleaveRecipe *> StoreGroups;
40114010 for (auto &R : *VectorLoop->getEntryBasicBlock ()) {
4012- if (isa<VPCanonicalIVPHIRecipe>(&R) ||
4013- match (&R, m_BranchOnCount (m_VPValue (), m_VPValue ())))
4011+ if (isa<VPCanonicalIVPHIRecipe>(&R) || match (&R, m_BranchOnCount ()))
40144012 continue ;
40154013
40164014 if (isa<VPDerivedIVRecipe, VPScalarIVStepsRecipe>(&R) &&
0 commit comments