[llvm] [LV, VP]VP intrinsics support for the Loop Vectorizer + adding new tail-folding mode using EVL. (PR #76172)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 5 07:33:54 PST 2024
================
@@ -1633,6 +1634,23 @@ class LoopVectorizationCostModel {
return foldTailByMasking() || Legal->blockNeedsPredication(BB);
}
+ /// Returns true if VP intrinsics with explicit vector length support should
+ /// be generated in the tail folded loop.
----------------
alexey-bataev wrote:
Reowked it, now it just checks if getTailFoldingStyle() == TailFoldingStyle::DataWithEVL
https://github.com/llvm/llvm-project/pull/76172
More information about the llvm-commits
mailing list