aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BinaryStreamWriter.cpp
diff options
context:
space:
mode:
authorWenlei He <aktoon@gmail.com>2021-09-16 08:33:47 -0700
committerWenlei He <aktoon@gmail.com>2021-09-16 10:36:12 -0700
commit446e21623c285f335714297aa14f13c21b298931 (patch)
treecef066f9cccbec12350092812d747c85231b2c9c /llvm/lib/Support/BinaryStreamWriter.cpp
parentafb6223bc53034973379863d08cbee322149569e (diff)
downloadllvm-446e21623c285f335714297aa14f13c21b298931.zip
llvm-446e21623c285f335714297aa14f13c21b298931.tar.gz
llvm-446e21623c285f335714297aa14f13c21b298931.tar.bz2
[llvm-profgen] Use context-sensitive byte size cost for preinliner decisions by default
Turn on `use-context-cost-for-preinliner` to use context-sensitive byte size cost for preinliner decisions by default. This is a more accurate proxy of inline cost than profile size. We tested on our large workload that it delivers measureable CPU improvement. Differential Revision: https://reviews.llvm.org/D109893
Diffstat (limited to 'llvm/lib/Support/BinaryStreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions