[all-commits] [llvm/llvm-project] c40ee0: Reapply "[MemProf] Add ambigous memprof attribute"...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Sun Oct 5 15:57:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c40ee0f32218be0e7f0abd43f96f2f65d2bb1a2a
      https://github.com/llvm/llvm-project/commit/c40ee0f32218be0e7f0abd43f96f2f65d2bb1a2a
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2025-10-05 (Sun, 05 Oct 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryProfileInfo.h
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
    M llvm/test/ThinLTO/X86/memprof-basic.ll
    M llvm/test/Transforms/PGOProfile/memprof.ll
    M llvm/unittests/Analysis/MemoryProfileInfoTest.cpp

  Log Message:
  -----------
  Reapply "[MemProf] Add ambigous memprof attribute" (#161717) (#161918)

Reapply llvm/llvm-project#157204 with fix and a new test for the issue
it caused (the test change provoked the assert that was converted to an
if condition).

Also, make the application of this new attribute under an (on by
default) flag, so that it can be more easily disabled if needed. Add
test for the new flag.



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