Skip to content

Commit de4060b

Browse files
committed
!fixup add TODO, move test.
1 parent ea1d5ea commit de4060b

File tree

3 files changed

+400
-201
lines changed

3 files changed

+400
-201
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4480,6 +4480,7 @@ VectorizationFactor LoopVectorizationPlanner::selectEpilogueVectorizationFactor(
44804480
const SCEV *RemainingIterations = nullptr;
44814481
unsigned MaxTripCount = 0;
44824482
if (MainLoopVF.isFixed()) {
4483+
// TODO: extend to support scalable VFs.
44834484
const SCEV *TC = vputils::getSCEVExprForVPValue(
44844485
getPlanFor(MainLoopVF).getTripCount(), SE);
44854486
assert(!isa<SCEVCouldNotCompute>(TC) &&

0 commit comments

Comments
 (0)