[llvm] [LV] Allow setting scalable VFs for `-epilogue-vectorization-force-VF` (PR #205081)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 28 07:45:22 PDT 2026


================
@@ -178,8 +178,8 @@ static cl::opt<bool> EnableEpilogueVectorization(
     "enable-epilogue-vectorization", cl::init(true), cl::Hidden,
     cl::desc("Enable vectorization of epilogue loops."));
 
-static cl::opt<unsigned> EpilogueVectorizationForceVF(
-    "epilogue-vectorization-force-VF", cl::init(1), cl::Hidden,
+static cl::opt<ElementCount> EpilogueVectorizationForceVF(
+    "epilogue-vectorization-force-VF", cl::Hidden,
     cl::desc("When epilogue vectorization is enabled, and a value greater than "
              "1 is specified, forces the given VF for all applicable epilogue "
----------------
fhahn wrote:

It looks like this needs updating now.

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


More information about the llvm-commits mailing list