[PATCH] D84468: [HotColdSplitting] Add SplittingDelta option to enable splitting more small blocks

Ruijie Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 16:13:57 PDT 2020


rjf added a comment.

@vsk I'll post some relevant statistics on the distribution of benefit-penalty scores on our workloads first:

**qemu and firefox compiled with `-O2` optimization level and hotcoldsplit**

For qemu, there are 4331 cold blocks detected in total, with 967 blocks with benefit-penalty difference in [-5, 0], in addition to 2892 blocks with positive benefit-penalty scores. See the attached file for a histogram.
F12432202: qemu.png <https://reviews.llvm.org/F12432202>
Note that the histogram has been truncated to include blocks with benefit-penalty difference between -10 and 10. Overall, the greatest number of blocks have a score of 4.

For Firefox (mozilla-central), there are 152048 cold blocks detected in total, 79612 blocks with benefit-penalty difference in [-5,0], in addition to 69444 blocks with positive benefit-penalty scores.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84468



More information about the llvm-commits mailing list