[llvm] Port CodeGenPrepare to new pass manager (and BasicBlockSectionsProfil… (PR #75380)
Nick Anderson via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 23 12:47:37 PST 2023
nickleus27 wrote:
I am thinking what I need is to require ProfileSummaryAnalysis like this: `MPM.addPass(RequireAnalysisPass<ProfileSummaryAnalysis, Module>());` which I could do in function `llvm::runPassPipeline` which is in `NewPMDriver.cpp`, but doing so I believe would make other tests potentially fail. Is there a way I could conditionally require ProfileSummaryAnalysis, or where would the right place to require the ProfileSummaryAnalysis Pass? Looking for suggestions, because I am feeling a little stuck at the moment.
https://github.com/llvm/llvm-project/pull/75380
More information about the llvm-commits
mailing list