Skip to content

Commit adfe54f

Browse files
committed
[VPlan] Directly check VectorizingEpilogue in ::executePlan (NFC).
Directly check VectorizingEpilogue which directly indicates that the epilogue is vectorized.
1 parent 7d89ebf commit adfe54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7829,7 +7829,7 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
78297829
}
78307830
TargetTransformInfo::UnrollingPreferences UP;
78317831
TTI.getUnrollingPreferences(L, *PSE.getSE(), UP, ORE);
7832-
if (!UP.UnrollVectorizedLoop || CanonicalIVStartValue)
7832+
if (!UP.UnrollVectorizedLoop || VectorizingEpilogue)
78337833
addRuntimeUnrollDisableMetaData(L);
78347834

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

0 commit comments

Comments
 (0)