diff options
author | Teresa Johnson <tejohnson@google.com> | 2025-10-03 16:35:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-03 16:35:17 -0700 |
commit | d322ebdeabf6acac6d1b1580c10abdbc7aef2802 (patch) | |
tree | 5fbc120c3289f41ea5f03453e792e467af988388 /llvm/lib/Object/BuildID.cpp | |
parent | 4368616452476472e3d776c9ae72be34fa674146 (diff) | |
download | llvm-d322ebdeabf6acac6d1b1580c10abdbc7aef2802.zip llvm-d322ebdeabf6acac6d1b1580c10abdbc7aef2802.tar.gz llvm-d322ebdeabf6acac6d1b1580c10abdbc7aef2802.tar.bz2 |
[MemProf] Suppress duplicate clones in the LTO backend (#161551)
In some cases due to phase ordering issues with re-cloning during
function assignment, we may end up with duplicate clones in the
summaries (calling the same set of callee clones and/or allocation
hints).
Ideally we would fix this in the thin link, but for now, detect and
suppress these in the LTO backend. In order to satisfy possibly
cross-module references, make each duplicate an alias to the first
identical copy, which gets materialized.
This reduces ThinLTO backend compile times.
Diffstat (limited to 'llvm/lib/Object/BuildID.cpp')
0 files changed, 0 insertions, 0 deletions