diff options
author | Teresa Johnson <tejohnson@google.com> | 2024-04-09 14:12:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 14:12:32 -0700 |
commit | a332cfc986e431de11cdbf632b5769878e0d826b (patch) | |
tree | 3a07335303e8068ad8680ad93dfa7d24abc0db58 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b561fd37266753c645f073b7fabf7a75cf65d2ec (diff) | |
download | llvm-a332cfc986e431de11cdbf632b5769878e0d826b.zip llvm-a332cfc986e431de11cdbf632b5769878e0d826b.tar.gz llvm-a332cfc986e431de11cdbf632b5769878e0d826b.tar.bz2 |
[MemProf] Perform cloning for each allocation separately (#87112)
Restructures the cloning slightly to perform all cloning for each
allocation separately. The prior algorithm would sometimes miss cloning
opportunities in cases where trimmed cold contexts partially overlapped
with longer contexts for different allocations.
Most of the change is isolated to the helpers that move edges to new or
existing clones, which now support moving a subset of context ids.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions