[all-commits] [llvm/llvm-project] beb2ae: [MemProf] Refactor and clean up edge removal (#109...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Thu Sep 19 09:32:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: beb2ae734830107d28543d172ab43ecc63bb59df
      https://github.com/llvm/llvm-project/commit/beb2ae734830107d28543d172ab43ecc63bb59df
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

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

  Log Message:
  -----------
  [MemProf] Refactor and clean up edge removal (#109188)

Add helper for removing an edge from the graph, and for checking if an
edge has been removed from the graph, and then update code to use those
consistently for removal and during edge iteration, respectively. Also
fix a couple of places that were incorrectly iterating over edge lists
that could in theory be updated during the iteration.



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