[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
Tue Sep 10 12:58:02 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();
----------------
alexey-bataev wrote:

Maybe it can be done right now, but the following patch still requires moving it up (for-non-power-2 support)

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


More information about the llvm-commits mailing list