[llvm] [NFC] ProfileSummaryInfo: use analysis manager mechanisms for invalidation (PR #86086)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 12:47:24 PDT 2024


https://github.com/aeubanks commented:

I don't really see a reason behind this change. With the new PM you can either invalidate an analysis if you don't want to keep it up to date/valid, or you can keep the analysis valid yourself. The existing code is basically keeping the analysis valid, which seems fine to me.

This patch seems like it's adding extra pass infra code without much gain.

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


More information about the llvm-commits mailing list