[llvm] [LV]Initial support for safe distance in predicated DataWithEVL vectorization mode. (PR #102897)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 16:08:22 PDT 2024


================
@@ -4071,15 +4093,25 @@ LoopVectorizationCostModel::computeMaxVF(ElementCount UserVF, unsigned UserIC) {
     InterleaveInfo.invalidateGroupsRequiringScalarEpilogue();
   }
 
-  FixedScalableVFPair MaxFactors = computeFeasibleMaxVF(MaxTC, UserVF, true);
----------------
ayalz wrote:

Could this speculative computing of feasible max VF's, assuming tail is folded, be complemented with recomputing the feasible max VF's later when we know there's no tail to fold?

https://github.com/llvm/llvm-project/pull/102897


More information about the llvm-commits mailing list