[PATCH] D53824: [HotColdSplitting] Allow outlining single-block cold regions
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 29 11:53:07 PDT 2018
vsk created this revision.
vsk added reviewers: sebpop, hiraditya, tejohnson.
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.
https://reviews.llvm.org/D53824
Files:
llvm/lib/Transforms/IPO/HotColdSplitting.cpp
llvm/test/Transforms/HotColdSplit/do-not-split.ll
llvm/test/Transforms/HotColdSplit/minsize.ll
llvm/test/Transforms/HotColdSplit/split-out-dbg-val-of-arg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53824.171548.patch
Type: text/x-patch
Size: 8224 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181029/87a4b62b/attachment.bin>
More information about the llvm-commits
mailing list