[PATCH] D85856: [lld] Enable remarks hotness filtering in lld

Wei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 14:46:17 PDT 2020


weiwang created this revision.
Herald added subscribers: llvm-commits, dang, dexonsmith, steven_wu, hiraditya, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: MaskRay.
Herald added a project: LLVM.
weiwang requested review of this revision.

Allow remark output filtering with manual hotness threshold:

1. lld option '--opt-remarks-hotness-threshold=<number>'
2. llvm-lto option '--lto-pass-remarks-hotness-threshold=<uint>'


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85856

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/X86/diagnostic-handler-remarks-with-hotness.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85856.285182.patch
Type: text/x-patch
Size: 11009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200812/dfc1cafd/attachment.bin>


More information about the llvm-commits mailing list