This removes the -flegacy-pass-manager and -fno-experimental-new-pass-manager options, and the corresponding support code in BackendUtil. The -fno-legacy-pass-manager and -fexperimental-new-pass-manager options are retained as no-ops.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hi @nikic,
We recently noticed legacy PM was removed from many places.
Does community plan to remove legacy PM completely?
Do you know when will CG switch to new PM?
Thanks.
Comment Actions
At this time, the ability to run a middle-end optimization pipeline using the legacy pass manager (basically anything based on PassManagerBuilder) is being removed. The CodeGen pipeline continues to use the legacy pass manager at this time -- I'm not aware of anyone doing active migration work in that area.
Comment Actions
Sorry to resurrect an old patch, but can you please update the docs here https://llvm.org/docs/NewPassManager.html#status-of-the-new-and-legacy-pass-managers with this info?