[all-commits] [llvm/llvm-project] 0f2484: [MemProf] Ensure all callsite clones are assigned ...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Sun Jul 27 11:48:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f2484a7408eb4a14dc9bb231e56e8dbfddbc5bc
      https://github.com/llvm/llvm-project/commit/0f2484a7408eb4a14dc9bb231e56e8dbfddbc5bc
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2025-07-27 (Sun, 27 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
    A llvm/test/ThinLTO/X86/memprof_func_assign_fix.ll
    A llvm/test/Transforms/MemProfContextDisambiguation/func_assign_fix.ll

  Log Message:
  -----------
  [MemProf] Ensure all callsite clones are assigned a function clone (#150735)

Fix a bug in function assignment where we were not assigning all
callsite clones to a function clone. This led to incorrect call updates
because multiple callsite clones could look like they were assigned to
the same function clone.

Add in a stat and debug message to help identify and debug cases where
this is still happening.



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