diff options
author | spupyrev <spupyrev@fb.com> | 2023-06-14 13:04:50 -0700 |
---|---|---|
committer | spupyrev <spupyrev@fb.com> | 2023-08-16 15:08:18 -0700 |
commit | 9460ebd13077feb164ea1687ce1d7c31000e8bef (patch) | |
tree | 3f79fab1a7f7d7785628957f72d7cede5bfceb58 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 9afc57dcb2e5cd36ca1ddf0fee3efa958bfd4c2a (diff) | |
download | llvm-9460ebd13077feb164ea1687ce1d7c31000e8bef.zip llvm-9460ebd13077feb164ea1687ce1d7c31000e8bef.tar.gz llvm-9460ebd13077feb164ea1687ce1d7c31000e8bef.tar.bz2 |
[BOLT] Fix sorting functions by execution count
I noticed that `-reorder-functions=exec-count` doesn't work as expected due to
a bug in the comparison function (which isn't symmetric). It is questionable
whether anyone would want to ever use the sorting method (as sorting by say
density is much better in all cases) but it is probably better to fix the bug.
Reviewed By: Amir
Differential Revision: https://reviews.llvm.org/D152959
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions