File tree 1 file changed +0
-15
lines changed
llvm/lib/Transforms/Vectorize 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -1373,21 +1373,6 @@ class LoopVectorizationCostModel {
1373
1373
return false ;
1374
1374
}
1375
1375
1376
- // / Returns true if we're required to use a scalar epilogue for at least
1377
- // / the final iteration of the original loop for all VFs in \p Range.
1378
- // / A scalar epilogue must either be required for all VFs in \p Range or for
1379
- // / none.
1380
- bool requiresScalarEpilogue (VFRange Range) const {
1381
- auto RequiresScalarEpilogue = [this ](ElementCount VF) {
1382
- return requiresScalarEpilogue (VF.isVector ());
1383
- };
1384
- bool IsRequired = all_of (Range, RequiresScalarEpilogue);
1385
- assert (
1386
- (IsRequired || none_of (Range, RequiresScalarEpilogue)) &&
1387
- " all VFs in range must agree on whether a scalar epilogue is required" );
1388
- return IsRequired;
1389
- }
1390
-
1391
1376
// / Returns true if a scalar epilogue is not allowed due to optsize or a
1392
1377
// / loop hint annotation.
1393
1378
bool isScalarEpilogueAllowed () const {
You can’t perform that action at this time.
0 commit comments