[llvm] [LV]Set tailfolding styles before computing feasible max VF. (PR #91403)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 07:36:06 PDT 2024
================
@@ -1631,6 +1639,11 @@ class LoopVectorizationCostModel {
ElementCount MaxSafeVF,
bool FoldTailByMasking);
+ /// Checks if the scalable vectorization is supported and enabled. The result
+ /// is stored in \p IsScalableVectorizationAllowed and used later, if
+ /// requested.
+ bool isScalableVectorizationAllowed();
----------------
alexey-bataev wrote:
No, it may change the value of IsScalableVectorizationAllowed, if it is not set yet.
https://github.com/llvm/llvm-project/pull/91403
More information about the llvm-commits
mailing list