[clang] [llvm] [OptBisect][IR] Adding a new OptPassGate for disabling passes via name (PR #145059)

Mircea Trofin via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 23 10:26:32 PDT 2025


================
@@ -37,8 +37,8 @@ static cl::opt<bool> OptBisectVerbose(
     cl::desc("Show verbose output when opt-bisect-limit is set"), cl::Hidden,
     cl::init(true), cl::Optional);
 
-static void printPassMessage(const StringRef &Name, int PassNum,
-                             StringRef TargetDesc, bool Running) {
+static void printBisectPassMessage(const StringRef &Name, int PassNum,
----------------
mtrofin wrote:

I'd recommend doing the name refactoring separately as a NFC change (Keeps this change smaller)

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


More information about the cfe-commits mailing list