File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -1373,21 +1373,6 @@ class LoopVectorizationCostModel {
13731373 return false ;
13741374 }
13751375
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-
13911376 // / Returns true if a scalar epilogue is not allowed due to optsize or a
13921377 // / loop hint annotation.
13931378 bool isScalarEpilogueAllowed () const {
You can’t perform that action at this time.
0 commit comments