[all-commits] [llvm/llvm-project] 96c69b: [LTO][AllocToken] Support AllocToken instrumentati...
Marco Elver via All-commits
all-commits at lists.llvm.org
Tue Dec 2 01:51:00 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96c69b7393be845dce997ead88a4cfd3ea0f8944
https://github.com/llvm/llvm-project/commit/96c69b7393be845dce997ead88a4cfd3ea0f8944
Author: Marco Elver <elver at google.com>
Date: 2025-12-02 (Tue, 02 Dec 2025)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
M clang/test/CodeGen/lto-newpm-pipeline.c
M llvm/include/llvm/Transforms/Instrumentation/AllocToken.h
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Transforms/Instrumentation/AllocToken.cpp
M llvm/test/CodeGen/AArch64/print-pipeline-passes.ll
A llvm/test/Instrumentation/AllocToken/hot-cold-new.ll
A llvm/test/Instrumentation/AllocToken/module-flags.ll
A llvm/test/LTO/X86/alloc-token-hot-cold-new.ll
A llvm/test/LTO/X86/alloc-token.ll
M llvm/test/Other/new-pm-O0-defaults.ll
M llvm/test/Other/new-pm-defaults.ll
M llvm/test/Other/new-pm-lto-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
Log Message:
-----------
[LTO][AllocToken] Support AllocToken instrumentation in backend (#169358)
Unconditionally add AllocTokenPass to the optimization pipelines, and
ensure that it runs last in LTO backend pipelines. The latter ensures
that AllocToken instrumentation can be moved later in the LTO pipeline
to avoid interference with other optimizations (e.g. PGHO) and enable
late heap-allocation optimizations.
In preparation of removing AllocTokenPass being added by Clang, add
support for AllocTokenPass to read configuration options from LLVM
module flags.
To optimize given the pass is now runs unconditionally, only retrieve
TargetLibraryInfo and OptimizationRemarkEmitter when necessary.
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