[PATCH] D113644: [NFC][InlineAdvisor] Inform advisor when the module is invalidated

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 11 10:15:43 PST 2021


aeubanks added a comment.

you could create a new module analysis which computes NodeCount/EdgeCount via FunctionPropertiesAnalysis. that's the most NPM-y way of doing this. then you'd `MAM.getResult<MyModulePropertiesAnalysis>(M)` which would only recalculate if it's been invalidated

but if this is to unblock something you can land this first


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113644/new/

https://reviews.llvm.org/D113644



More information about the llvm-commits mailing list