[llvm] [LV] Increase max VF if vectorized function variants exist (PR #66639)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 7 10:02:58 PST 2023
================
@@ -390,6 +390,11 @@ static cl::opt<cl::boolOrDefault> ForceSafeDivisor(
cl::desc(
"Override cost based safe divisor widening for div/rem instructions"));
+static cl::opt<bool> UseWiderVFIfVariantsPresent(
----------------
david-arm wrote:
Sorry if I missed this before, but can you also rename this to something a bit more specific, i.e. `UseWiderVFIfCallVariantsPresent`? At the moment it could refer to variants of anything. Other than that the patch looks good!
https://github.com/llvm/llvm-project/pull/66639
More information about the llvm-commits
mailing list