[PATCH] D53835: [HotColdSplitting] Use TTI to inform outlining threshold
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 29 14:42:05 PDT 2018
vsk created this revision.
vsk added reviewers: junbuml, sebpop, hiraditya, tejohnson.
Using TargetTransformInfo allows the splitting pass to factor in the
code size cost of instructions as it decides whether or not outlining is
profitable.
This did not regress the overall amount of outlining seen on the handful
of internal frameworks I tested.
Thanks to Jun Bum Lim for suggesting this!
https://reviews.llvm.org/D53835
Files:
llvm/lib/Transforms/IPO/HotColdSplitting.cpp
llvm/test/Transforms/HotColdSplit/outline-expensive.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53835.171577.patch
Type: text/x-patch
Size: 6190 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181029/2364312c/attachment.bin>
More information about the llvm-commits
mailing list