aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-11-04 23:11:57 +0000
committerVedant Kumar <vsk@apple.com>2018-11-04 23:11:57 +0000
commitd2a895a9720e32e2f52e1ce10d2ba4769a034aa2 (patch)
treed3576d1fb7e7d46a92b9273de163ba1319e178b1 /clang/lib/Lex/ModuleMap.cpp
parent6c652b7f1167654f87f4a31b3922d1d0d24eb258 (diff)
downloadllvm-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