[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 Aug 27 05:39:51 PDT 2024


================
@@ -1466,12 +1465,9 @@ class LoopVectorizationCostModel {
     // Override forced styles if needed.
     // FIXME: use actual opcode/data type for analysis here.
     // FIXME: Investigate opportunity for fixed vector factor.
-    bool EVLIsLegal =
-        IsScalableVF && UserIC <= 1 &&
----------------
alexey-bataev wrote:

Yes. With this change, we do not know yet here, if VF is scalable or not, so just set the tail folding, choose VF, and then disable tail folding, if for some reason it does not work.

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


More information about the llvm-commits mailing list