[all-commits] [llvm/llvm-project] 1e9b00: [BOLT] Speedup symbol table sort
maksfb via All-commits
all-commits at lists.llvm.org
Mon Sep 18 11:29:06 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e9b006add110b2b1732fe7dbff1166f8d2f8db4
https://github.com/llvm/llvm-project/commit/1e9b006add110b2b1732fe7dbff1166f8d2f8db4
Author: Maksim Panchenko <maks at fb.com>
Date: 2023-09-18 (Mon, 18 Sep 2023)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
[BOLT] Speedup symbol table sort
Memoize SymbolRef::getAddress() for sorting symbol table entries by
their address. Saves about 10 seconds of processing time on large
binaries with over 2 million symbols. NFCI.
Reviewed By: jobnoorman, Amir
Differential Revision: https://reviews.llvm.org/D159524
More information about the All-commits
mailing list