aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2025-10-03 16:35:17 -0700
committerGitHub <noreply@github.com>2025-10-03 16:35:17 -0700
commitd322ebdeabf6acac6d1b1580c10abdbc7aef2802 (patch)
tree5fbc120c3289f41ea5f03453e792e467af988388 /llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp
parent4368616452476472e3d776c9ae72be34fa674146 (diff)
downloadllvm-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/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp')
0 files changed, 0 insertions, 0 deletions