[llvm] [LV] Nest cl::opts under namespace llvm (NFC) (PR #221891)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 02:43:24 PDT 2026


================
@@ -51,6 +51,9 @@
 
 namespace llvm {
 
+LLVM_ABI extern cl::opt<unsigned> NumberOfStoresToPredicate;
+LLVM_ABI extern cl::opt<bool> VPlanBuildOuterloopStressTest;
----------------
artagnon wrote:

Yes, alright: there's ForceTargetInstructionCost, which I think I added to LoopVectorizationPlanner.h in https://github.com/llvm/llvm-project/pull/130601, with the same rationale.

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


More information about the llvm-commits mailing list