[all-commits] [llvm/llvm-project] e6e56f: [MemProf] Handle recursion during stack node updat...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Tue Apr 15 12:45:40 PDT 2025


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

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

  Log Message:
  -----------
  [MemProf] Handle recursion during stack node update (#135837)

If we are replacing a sequence of stack nodes with a single node
representing inlined IR, and the stack id sequence contains recursion,
we may have already removed some edges. Handle this case correctly by
skipping the now removed edge.



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