[clang] [flang] [lld] [llvm] [mlir] [Passes] Make PipelineTuningOptions take a LibraryOptionsContext reference (PR #237615)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 4 00:18:47 PST 2026


nikic wrote:

@MaskRay Yes, that roughly matches my understanding.

> No new LLVMPassBuilderOptionsSet* functions. When a field leaves PTO, its existing setter becomes a compatibility shim.

I do think we can have new LLVMPassBuilderOptionsSet functions, we just shouldn't try to add them for everything in PTO without thinking if it actually makes sense... The fact that we have things like LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll was certainly a mistake...

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


More information about the cfe-commits mailing list