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

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 20 14:09:43 PDT 2025


snehasish wrote:

> Some drive-by notes. What is the purpose / intended use case of this functionality?

Cristian has been studying the impact of optimizations on debug information and thus the impact on AutoFDO profile quality.    @mtrofin and I encouraged him to put this patch up for review so that we can reproduce his findings on internal workloads and share the insights with the rest of the community. 

I think this functionality will also help identify passes which drop debug information and help with [the work proposed in this RFC](https://discourse.llvm.org/t/rfc-require-real-or-annotated-source-locations-on-all-instructions/86816). cc: @jmorse @SLTozer 

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


More information about the llvm-commits mailing list