[all-commits] [llvm/llvm-project] a332cf: [MemProf] Perform cloning for each allocation sepa...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Tue Apr 9 14:12:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a332cfc986e431de11cdbf632b5769878e0d826b
      https://github.com/llvm/llvm-project/commit/a332cfc986e431de11cdbf632b5769878e0d826b
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
    A llvm/test/Transforms/MemProfContextDisambiguation/overlapping-contexts.ll

  Log Message:
  -----------
  [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.



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