File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -4373,8 +4373,7 @@ VectorizationFactor LoopVectorizationPlanner::selectEpilogueVectorizationFactor(
43734373 vputils::getSCEVExprForVPValue (getPlanFor (MainLoopVF).getTripCount (), SE);
43744374 assert (!isa<SCEVCouldNotCompute>(TC) && " Trip count SCEV must be computable" );
43754375 const SCEV *KnownMinTC;
4376- bool ScalableTC = match (TC, m_scev_Mul (m_SCEV (KnownMinTC), m_SCEVVScale ())) ||
4377- match (TC, m_scev_Mul (m_SCEVVScale (), m_SCEV (KnownMinTC)));
4376+ bool ScalableTC = match (TC, m_scev_c_Mul (m_SCEV (KnownMinTC), m_SCEVVScale ()));
43784377 // Use versions of TC and VF in which both are either scalable or fixed.
43794378 if (ScalableTC == MainLoopVF.isScalable ())
43804379 RemainingIterations =
You can’t perform that action at this time.
0 commit comments