[PATCH] D40678: [opt-remarks] If hotness threshold is set, ignore remarks without hotness

Adam Nemet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 14:27:15 PST 2017


anemet created this revision.
Herald added subscribers: eraman, javed.absar, qcolombet.

These are blocks that haven't not been executed during training.  For large
projects this could make a significant difference.  For the project, I was
looking at, I got an order of magnitude decrease in the size of the total YAML
files with this and r319235.


https://reviews.llvm.org/D40678

Files:
  lib/Analysis/OptimizationRemarkEmitter.cpp
  lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
  test/CodeGen/AArch64/arm64-spill-remarks-treshold-hotness.ll
  test/Transforms/Inline/optimization-remarks-hotness-threshold.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40678.125023.patch
Type: text/x-patch
Size: 8122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171130/7b711898/attachment.bin>


More information about the llvm-commits mailing list