Skip to content

Commit

Permalink
[VPlan] Directly check VectorizingEpilogue in ::executePlan (NFC).
Browse files Browse the repository at this point in the history
Directly check VectorizingEpilogue which directly indicates that the
epilogue is vectorized.
  • Loading branch information
fhahn committed Dec 9, 2024
1 parent 7d89ebf commit adfe54f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7829,7 +7829,7 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
}
TargetTransformInfo::UnrollingPreferences UP;
TTI.getUnrollingPreferences(L, *PSE.getSE(), UP, ORE);
if (!UP.UnrollVectorizedLoop || CanonicalIVStartValue)
if (!UP.UnrollVectorizedLoop || VectorizingEpilogue)
addRuntimeUnrollDisableMetaData(L);

// 3. Fix the vectorized code: take care of header phi's, live-outs,
Expand Down

0 comments on commit adfe54f

Please sign in to comment.