[llvm] [nfc][mlgo] Incrementally update DominatorTreeAnalysis in FunctionPropertiesAnalysis (PR #104867)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 16:51:58 PDT 2024
mtrofin wrote:
> This is a naïve question, but is the FunctionPropertiesUpdater's only user the MLInline advisor?
Yes, afaik
> Is it possible for this to be used by the regular Inliner so DT is not recomputed after inlining?
AFAIK, DT / LI aren't used for the non-ML InlineCost calculation, but indeed, we could use their patch-ability to keep them "fresh" during inlining and avoid recalculating them, if that becomes an issue in some scenarios.
https://github.com/llvm/llvm-project/pull/104867
More information about the llvm-commits
mailing list