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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 00:53:33 PDT 2025


================
@@ -114,6 +114,10 @@ class LLVM_ABI Pass {
   /// Registration templates, but can be overloaded directly.
   virtual StringRef getPassName() const;
 
+  /// Return a nice clean name for a pass
+  /// corresponding to that used to enable the pass in opt
----------------
nikic wrote:

```suggestion
  /// corresponding to that used to enable the pass in opt.
```

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


More information about the llvm-commits mailing list