[all-commits] [llvm/llvm-project] 2a7e7e: [MemProf] Convert removal of memprof attrs and met...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Thu Oct 16 12:26:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a7e7e2ac40a8bad2629a7790538e4ff608501ab
https://github.com/llvm/llvm-project/commit/2a7e7e2ac40a8bad2629a7790538e4ff608501ab
Author: Teresa Johnson <tejohnson at google.com>
Date: 2025-10-16 (Thu, 16 Oct 2025)
Changed paths:
M clang/test/CodeGen/distributed-thin-lto/supports-hot-cold-new.ll
M llvm/include/llvm/LTO/LTO.h
M llvm/include/llvm/Transforms/IPO/MemProfContextDisambiguation.h
M llvm/lib/LTO/LTO.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/test/LTO/X86/memprof-supports-hot-cold-new.ll
M llvm/test/ThinLTO/X86/memprof-supports-hot-cold-new.ll
Log Message:
-----------
[MemProf] Convert removal of memprof attrs and metadata to a pass (#163841)
In preparation for a follow on fix that removes these attributes and
metadata in non-LTO pipelines, convert updateMemProfAttributes to a new
MemProfRemoveInfo pass that executes at the start of the LTO backend
pass pipelines when we don't have an index indicating that we linked
with a library support hot cold operator new.
This is largely NFC from an end user perspective but changes where the
removal can be observed, hence the test updates.
A follow on change will use the new pass for non-LTO pipelines (for
cases when the bitcode is initially matched with memprof data but we
decide to complete the compile without LTO).
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