This is an archive of the discontinued LLVM Phabricator instance.

[llvm][NFC] Cache FAM in InlineAdvisor
ClosedPublic

Authored by mtrofin on May 21 2020, 2:09 PM.

Details

Summary

This simplifies the interface by storing the function analysis manager
with the InlineAdvisor, and, thus, not requiring it be passed each time
we inquire for an advice.

Diff Detail

Event Timeline

mtrofin created this revision.May 21 2020, 2:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 21 2020, 2:10 PM

This looks fine to me.
+chandlerc for a second opinion.

This looks fine to me.
+chandlerc for a second opinion.

Gentle reminder - thanks!

davidxl accepted this revision.Jun 1 2020, 11:11 AM

lgtm

This revision is now accepted and ready to land.Jun 1 2020, 11:11 AM
asbirlea accepted this revision.Jun 1 2020, 12:18 PM

LGTM.

This revision was automatically updated to reflect the committed changes.