We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db316ae commit c6de5a8Copy full SHA for c6de5a8
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -2431,8 +2431,7 @@ InnerLoopVectorizer::getOrCreateVectorTripCount(BasicBlock *InsertBlock) {
2431
2432
// Use original trip count as the vector trip count if use predicated EVL
2433
// instructions for tail-folding.
2434
- if (VF.isVector() &&
2435
- Cost->getTailFoldingStyle() == TailFoldingStyle::DataWithEVL) {
+ if (VF.isVector() && Cost->foldTailWithEVL()) {
2436
assert(!Cost->requiresScalarEpilogue(true) &&
2437
"Use predicated EVL instructions for tail-folding does not allow "
2438
"scalar epilogue");
0 commit comments