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

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 11 10:17:14 PST 2021


mtrofin added a comment.

In D113644#3125070 <https://reviews.llvm.org/D113644#3125070>, @aeubanks wrote:

> 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

ack - thanks; yes, leme unblock Fuchsia with this, then I'll try the cleaner method.


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