[llvm] [LV] Don't vectorize epilogue with scalable VF if no iterations remain. (PR #149789)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 22 06:16:04 PDT 2025
================
@@ -4479,6 +4479,28 @@ VectorizationFactor LoopVectorizationPlanner::selectEpilogueVectorizationFactor(
Type *TCType = Legal->getWidestInductionType();
const SCEV *RemainingIterations = nullptr;
unsigned MaxTripCount = 0;
+ if (MainLoopVF.isFixed()) {
----------------
fhahn wrote:
Put up https://github.com/llvm/llvm-project/pull/150018
https://github.com/llvm/llvm-project/pull/149789
More information about the llvm-commits
mailing list