[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
Thu Oct 10 10:57:32 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:

If possible to keep it in the original place without much extra work that would be preferable, moving when actually needed?

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


More information about the llvm-commits mailing list