diff options
author | Aditya Kumar <1894981+hiraditya@users.noreply.github.com> | 2020-12-18 08:57:38 -0800 |
---|---|---|
committer | Aditya Kumar <1894981+hiraditya@users.noreply.github.com> | 2020-12-18 17:06:17 -0800 |
commit | 1ab4db0f847fa1ddd394dbf54a5051b626eab160 (patch) | |
tree | bd27a8c0fe9b5391ca18f762f3066dbd88d42bcd /llvm/lib/IR/ModuleSummaryIndex.cpp | |
parent | 2fced5a07b45ef527ac00a13e63bfca61e407ee3 (diff) | |
download | llvm-1ab4db0f847fa1ddd394dbf54a5051b626eab160.zip llvm-1ab4db0f847fa1ddd394dbf54a5051b626eab160.tar.gz llvm-1ab4db0f847fa1ddd394dbf54a5051b626eab160.tar.bz2 |
[HotColdSplit] Reflect full cost of parameters in split penalty
Make the penalty for splitting a region more accurately reflect the cost
of materializing all of the inputs/outputs to/from the region.
This almost entirely eliminates code growth within functions which
undergo splitting in key internal frameworks, and reduces the size of
those frameworks between 2.6% to 3%.
rdar://49167240
Patch by: Vedant Kumar(@vsk)
Reviewers: hiraditya,rjf,t.p.northover
Reviewed By: hiraditya,rjf
Differential Revision: https://reviews.llvm.org/D59715
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions