[all-commits] [llvm/llvm-project] 1585db: [IR] Optimize CFI in `writeCombinedGlobalValueSumm...
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Tue Mar 11 20:37:01 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1585db458f040b5861d449a3a882388f8dcb6e62
https://github.com/llvm/llvm-project/commit/1585db458f040b5861d449a3a882388f8dcb6e62
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Log Message:
-----------
[IR] Optimize CFI in `writeCombinedGlobalValueSummary` (#130382)
Before the patch,
`writeCombinedGlobalValueSummary` traversed entire
`cfiFunction*` for each module, just to pick a few
symbols from `DefOrUseGUIDs`.
Now we change internals of `cfiFunctionDefs` and
`cfiFunctionDecls` to maintain a map from GUID to StringSet.
So now we iterate `DefOrUseGUIDs`, usually small,
and pick exact subset of symbols.
Sorting is not strictly necessary, but it
preserves the order of emitted values.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list