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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 07:12:54 PDT 2024


================
@@ -4106,15 +4133,11 @@ LoopVectorizationCostModel::computeMaxVF(ElementCount UserVF, unsigned UserIC) {
     if (Rem->isZero()) {
       // Accept MaxFixedVF if we do not have a tail.
       LLVM_DEBUG(dbgs() << "LV: No tail will remain for any chosen VF.\n");
+      disableTailFolding();
----------------
fhahn wrote:

Is this still pending or is there a check now elsewhere?

Would it be simpler to just increase the scalable VF when tail-folding with EVL below where we already adjust the max fixed VF, instead of needing to reset the tail folding decision?

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


More information about the llvm-commits mailing list