[PATCH] D85809: [lld] Enable remarks hotness filtering in lld and llvm-lto2

Wei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 12:59:32 PDT 2020


weiwang updated this revision to Diff 286119.
weiwang added a comment.

update:
add remarks hotness threshold to all the tools uses `lto::setupLLVMOptimizationRemarks`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85809

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/LTO.cpp
  lld/ELF/Options.td
  lld/test/ELF/lto/opt-remarks.ll
  llvm/include/llvm/LTO/Config.h
  llvm/include/llvm/LTO/LTO.h
  llvm/lib/LTO/LTO.cpp
  llvm/lib/LTO/LTOBackend.cpp
  llvm/lib/LTO/LTOCodeGenerator.cpp
  llvm/lib/LTO/ThinLTOCodeGenerator.cpp
  llvm/test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll
  llvm/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll
  llvm/test/tools/gold/X86/opt-remarks.ll
  llvm/tools/gold/gold-plugin.cpp
  llvm/tools/llvm-lto2/llvm-lto2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85809.286119.patch
Type: text/x-patch
Size: 17297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200817/5a563f18/attachment.bin>


More information about the llvm-commits mailing list