diff options
author | Vedant Kumar <vsk@apple.com> | 2018-10-29 19:15:39 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2018-10-29 19:15:39 +0000 |
commit | dd4be53b20a8e3ad43ed5b4e14f6c93d1a23ae34 (patch) | |
tree | 7d1fcada3ca33fe82b465a15287b85afcd9380e2 /libcxx/benchmarks/algorithms.bench.cpp | |
parent | 2f628a1030376e751194453d0b0788303d9f6811 (diff) | |
download | bcm5719-llvm-dd4be53b20a8e3ad43ed5b4e14f6c93d1a23ae34.tar.gz bcm5719-llvm-dd4be53b20a8e3ad43ed5b4e14f6c93d1a23ae34.zip |
[HotColdSplitting] Allow outlining single-block cold regions
It can be profitable to outline single-block cold regions because they
may be large.
Allow outlining single-block regions if they have over some threshold of
non-debug, non-terminator instructions. I chose 3 as the threshold after
experimenting with several internal frameworks.
In practice, reducing the threshold further did not give much
improvement, whereas increasing it resulted in substantial regressions.
Differential Revision: https://reviews.llvm.org/D53824
llvm-svn: 345524
Diffstat (limited to 'libcxx/benchmarks/algorithms.bench.cpp')
0 files changed, 0 insertions, 0 deletions