diff options
author | Nikita Popov <npopov@redhat.com> | 2021-12-16 10:48:40 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-01-06 09:13:58 +0100 |
commit | 32808cfb24b8d83a99223b7f797be1dbe5573c10 (patch) | |
tree | 3db158967e5bf6f36a09d1eb52355c95aad5d055 /llvm/docs/CommandGuide/llvm-strings.rst | |
parent | 49d311874edc928831ccaddd621801a4dbee580d (diff) | |
download | llvm-32808cfb24b8d83a99223b7f797be1dbe5573c10.zip llvm-32808cfb24b8d83a99223b7f797be1dbe5573c10.tar.gz llvm-32808cfb24b8d83a99223b7f797be1dbe5573c10.tar.bz2 |
[IR] Track users of comdats
Track all GlobalObjects that reference a given comdat, which allows
determining whether a function in a comdat is dead without scanning
the whole module.
In particular, this makes filterDeadComdatFunctions() have complexity
O(#DeadFunctions) rather than O(#SymbolsInModule), which addresses
half of the compile-time issue exposed by D115545.
Differential Revision: https://reviews.llvm.org/D115864
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-strings.rst')
0 files changed, 0 insertions, 0 deletions