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

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 12:28:58 PDT 2024


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

You mean, instead of moving tail folding before the MaxVF computation, instead try to compute MaxVF twice, if required? I think this is possible.

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


More information about the llvm-commits mailing list