aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ModuleSummaryIndex.cpp
diff options
context:
space:
mode:
authorAditya Kumar <1894981+hiraditya@users.noreply.github.com>2020-12-18 08:57:38 -0800
committerAditya Kumar <1894981+hiraditya@users.noreply.github.com>2020-12-18 17:06:17 -0800
commit1ab4db0f847fa1ddd394dbf54a5051b626eab160 (patch)
treebd27a8c0fe9b5391ca18f762f3066dbd88d42bcd /llvm/lib/IR/ModuleSummaryIndex.cpp
parent2fced5a07b45ef527ac00a13e63bfca61e407ee3 (diff)
downloadllvm-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