Skip to content

Commit d962751

Browse files
committed
Use m_scev_c_Mul
1 parent b18506c commit d962751

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4375,8 +4375,7 @@ VectorizationFactor LoopVectorizationPlanner::selectEpilogueVectorizationFactor(
43754375
vputils::getSCEVExprForVPValue(getPlanFor(MainLoopVF).getTripCount(), SE);
43764376
assert(!isa<SCEVCouldNotCompute>(TC) && "Trip count SCEV must be computable");
43774377
const SCEV *KnownMinTC;
4378-
bool ScalableTC = match(TC, m_scev_Mul(m_SCEV(KnownMinTC), m_SCEVVScale())) ||
4379-
match(TC, m_scev_Mul(m_SCEVVScale(), m_SCEV(KnownMinTC)));
4378+
bool ScalableTC = match(TC, m_scev_c_Mul(m_SCEV(KnownMinTC), m_SCEVVScale()));
43804379
// Use versions of TC and VF in which both are either scalable or fixed.
43814380
if (ScalableTC == MainLoopVF.isScalable())
43824381
RemainingIterations =

0 commit comments

Comments
 (0)