[llvm] Port CodeGenPrepare to new pass manager (and BasicBlockSectionsProfil… (PR #75380)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 22:01:40 PST 2024
arsenm wrote:
> it looks like I am failing some tests because PSI is nullptr, PSI = MAMProxy.getCachedResult<ProfileSummaryAnalysis>(*F.getParent()); This would mean ProfileSummaryAnalysis is not cached and hasn't been run
getCachedResult is for optional analyses; if it's a hard requirement you should just use getResult instead to ensure it's available
https://github.com/llvm/llvm-project/pull/75380
More information about the llvm-commits
mailing list