diff options
author | William Huang <williamjhuang@google.com> | 2022-12-29 00:35:06 +0000 |
---|---|---|
committer | William Huang <williamjhuang@google.com> | 2023-01-09 22:01:10 +0000 |
commit | 5b72d0e4f5eeb8f90c744cac8e0728cffeca61a9 (patch) | |
tree | bfdfc4d7a09b20ed7b1963d9bdcceb0ffd220da5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 13b909ef27e7cb7a4c55d1778254be1ac5c0884d (diff) | |
download | llvm-5b72d0e4f5eeb8f90c744cac8e0728cffeca61a9.zip llvm-5b72d0e4f5eeb8f90c744cac8e0728cffeca61a9.tar.gz llvm-5b72d0e4f5eeb8f90c744cac8e0728cffeca61a9.tar.bz2 |
[llvm-profdata] Add option to cap profile output size
Allow user to specify `--output-size-limit=n` to cap the size of generated profile to be strictly under n. Functions with the lowest total sample count are dropped first if necessary. Due to using a heuristic, excessive functions may be dropped to satisfy the size requirement
Reviewed By: snehasish
Differential Revision: https://reviews.llvm.org/D139603
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions