[PATCH] D125495: [Inline][Remark] Annotate inline pass name with link phase information for analysis.

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 14:18:49 PDT 2022


mingmingl updated this revision to Diff 429070.
mingmingl marked 2 inline comments as done.
mingmingl edited the summary of this revision.
mingmingl added a comment.

Resolve the comments.

Plus, use `llvm_unreachable` for `getAnnotatedPassName` helper function since `switch statement` has `default` and should return


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125495

Files:
  llvm/include/llvm/Analysis/InlineAdvisor.h
  llvm/include/llvm/Passes/PassBuilder.h
  llvm/include/llvm/Transforms/IPO/Inliner.h
  llvm/include/llvm/Transforms/IPO/ModuleInliner.h
  llvm/lib/Analysis/InlineAdvisor.cpp
  llvm/lib/Passes/PassBuilderPipelines.cpp
  llvm/lib/Transforms/IPO/Inliner.cpp
  llvm/lib/Transforms/IPO/ModuleInliner.cpp
  llvm/lib/Transforms/IPO/SampleProfile.cpp
  llvm/test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll
  llvm/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll
  llvm/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll
  llvm/test/LTO/X86/diagnostic-handler-remarks.ll
  llvm/test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll
  llvm/test/ThinLTO/X86/diagnostic-handler-remarks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125495.429070.patch
Type: text/x-patch
Size: 35671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220512/01f42ce3/attachment-0001.bin>


More information about the llvm-commits mailing list