diff options
author | Vedant Kumar <vsk@apple.com> | 2018-11-04 23:11:57 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2018-11-04 23:11:57 +0000 |
commit | d2a895a9720e32e2f52e1ce10d2ba4769a034aa2 (patch) | |
tree | d3576d1fb7e7d46a92b9273de163ba1319e178b1 /clang/lib/Lex/ModuleMap.cpp | |
parent | 6c652b7f1167654f87f4a31b3922d1d0d24eb258 (diff) | |
download | llvm-d2a895a9720e32e2f52e1ce10d2ba4769a034aa2.zip llvm-d2a895a9720e32e2f52e1ce10d2ba4769a034aa2.tar.gz llvm-d2a895a9720e32e2f52e1ce10d2ba4769a034aa2.tar.bz2 |
[HotColdSplitting] Use TTI to inform outlining threshold
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!
Differential Revision: https://reviews.llvm.org/D53835
llvm-svn: 346108
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions