[PATCH] D41465: [LTO] Support filtering by hotness threshold

Adam Nemet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 14:10:07 PST 2017


anemet created this revision.
anemet added reviewers: tejohnson, pcc.
Herald added subscribers: eraman, inglorion, mehdi_amini, fhahn.

This wires up -pass-remarks-hotness-threshold to LTO and ThinLTO.

Next is to change the clang driver to pass this
with -fdiagnostics-hotness-threshold.


https://reviews.llvm.org/D41465

Files:
  include/llvm/LTO/Config.h
  include/llvm/LTO/LTO.h
  lib/LTO/LTO.cpp
  lib/LTO/LTOBackend.cpp
  lib/LTO/LTOCodeGenerator.cpp
  lib/LTO/ThinLTOCodeGenerator.cpp
  test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll
  test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41465.127784.patch
Type: text/x-patch
Size: 8745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171220/0bdc0719/attachment.bin>


More information about the llvm-commits mailing list