[llvm] Changed default value of slp-max-vf to 192 (PR #70479)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 30 08:32:20 PDT 2023


================
@@ -138,8 +138,8 @@ MaxVectorRegSizeOption("slp-max-reg-size", cl::init(128), cl::Hidden,
     cl::desc("Attempt to vectorize for this register size in bits"));
 
 static cl::opt<unsigned>
-MaxVFOption("slp-max-vf", cl::init(0), cl::Hidden,
-    cl::desc("Maximum SLP vectorization factor (0=unlimited)"));
+    MaxVFOption("slp-max-vf", cl::init(192), cl::Hidden,
+                cl::desc("Maximum SLP vectorization factor (0=unlimited)"));
----------------
alexey-bataev wrote:

I don't like this change, need to take a closer look at the problematic case. This is a hacak that does not fix the issue, just hides it.

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


More information about the llvm-commits mailing list