[llvm] [LV] Increase max VF if vectorized function variants exist (PR #66639)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 19 08:28:47 PDT 2023
================
@@ -380,6 +380,10 @@ class LoopVectorizationLegality {
return MaskedOp.contains(I);
}
+ /// Returns true if there is at least one function call in the loop which
+ /// has a vectorized variant available.
+ bool hasVectorVariants() const { return VecVariantsFound; }
----------------
david-arm wrote:
Again, perhaps something like 'hasVectorCallVariants'?
https://github.com/llvm/llvm-project/pull/66639
More information about the llvm-commits
mailing list