[all-commits] [llvm/llvm-project] 082e7c: [MemProf] Remove empty edges once after cloning (#...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Tue Mar 26 20:06:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 082e7c480e033c1b973b8379a31929d04e236868
      https://github.com/llvm/llvm-project/commit/082e7c480e033c1b973b8379a31929d04e236868
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  Log Message:
  -----------
  [MemProf] Remove empty edges once after cloning (#85320)

Restructure the handling of edges that become empty during the cloning
process. Instead of removing them as they become empty (no context ids
and alloc type), do this once after all cloning is complete.

This has no effect on the cloning result, but prepares for a follow on
change that does improve the cloning. The structural change here reduces
the diffs for the follow on change, which would be much more difficult
with the previous handling.



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