[llvm] [OptBisect] Add opt-bisect-skip option for skipping passes during bisection (PR #152393)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 08:33:22 PDT 2025


================
@@ -37,6 +37,11 @@ static cl::opt<int> OptBisectLimit("opt-bisect-limit", cl::Hidden,
                                    }),
                                    cl::desc("Maximum optimization to perform"));
 
+static cl::opt<int> OptBisectSkip(
+    "opt-bisect-skip", cl::Hidden, cl::init(OptBisect::Disabled), cl::Optional,
----------------
AlexMaclean wrote:

Nit: this name is a bit odd since we're not really bisecting. Not sure what a better name would be maybe "opt-disable-indices" but I'm not crazy about that either?

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


More information about the llvm-commits mailing list