diff options
author | Wenlei He <aktoon@gmail.com> | 2021-09-16 08:33:47 -0700 |
---|---|---|
committer | Wenlei He <aktoon@gmail.com> | 2021-09-16 10:36:12 -0700 |
commit | 446e21623c285f335714297aa14f13c21b298931 (patch) | |
tree | cef066f9cccbec12350092812d747c85231b2c9c /llvm/lib/Support/BinaryStreamWriter.cpp | |
parent | afb6223bc53034973379863d08cbee322149569e (diff) | |
download | llvm-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