aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2019-01-22 22:49:22 +0000
committerVedant Kumar <vsk@apple.com>2019-01-22 22:49:22 +0000
commitcde65c0face16507ceb7e0d6f5d36f6f1b9cc04d (patch)
tree4d8c77bd931b9fa530d475e486b446641c244ae5 /llvm/tools/llvm-objcopy/llvm-objcopy.cpp
parent58e342785644463e35dd85b36489129a97935705 (diff)
downloadllvm-cde65c0face16507ceb7e0d6f5d36f6f1b9cc04d.zip
llvm-cde65c0face16507ceb7e0d6f5d36f6f1b9cc04d.tar.gz
llvm-cde65c0face16507ceb7e0d6f5d36f6f1b9cc04d.tar.bz2
[HotColdSplit] Calculate BFI lazily to reduce compile-time, NFC
The splitting pass does not need BFI unless the Module actually has a profile summary. Do not calcualte BFI unless the summary is present. For the sqlite3 amalgamation, this reduces time spent in the splitting pass from 0.4% of the total to under 0.1%. llvm-svn: 351894
Diffstat (limited to 'llvm/tools/llvm-objcopy/llvm-objcopy.cpp')
0 files changed, 0 insertions, 0 deletions