[PATCH] D110658: [InlineAdvisor] Add -inline-replay-strict to replay inline decisions only in callers that have remarks

Di Mo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 12 17:45:46 PDT 2021


modimo updated this revision to Diff 379235.
modimo marked an inline comment as done.
modimo added a comment.

Review feedback. InlineCallersFromRemarks->CallersToReplay. Refactor creating a ReplayInlineAdvisor to use getReplayInlineAdvisor.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110658

Files:
  llvm/include/llvm/Analysis/InlineAdvisor.h
  llvm/include/llvm/Analysis/ReplayInlineAdvisor.h
  llvm/include/llvm/Transforms/IPO/Inliner.h
  llvm/lib/Analysis/InlineAdvisor.cpp
  llvm/lib/Analysis/ReplayInlineAdvisor.cpp
  llvm/lib/Transforms/IPO/Inliner.cpp
  llvm/lib/Transforms/IPO/SampleProfile.cpp
  llvm/test/Transforms/Inline/cgscc-inline-replay.ll
  llvm/test/Transforms/SampleProfile/Inputs/inline-replay-function-scope.txt
  llvm/test/Transforms/SampleProfile/Inputs/inline-replay.txt
  llvm/test/Transforms/SampleProfile/Inputs/inline-topdown-inline-all.prof
  llvm/test/Transforms/SampleProfile/inline-replay.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110658.379235.patch
Type: text/x-patch
Size: 24799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211013/58840054/attachment.bin>


More information about the llvm-commits mailing list