[all-commits] [llvm/llvm-project] 76c0d4: [Attributor][AMD] Enable AAIndirectCallInfo for AM...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Sun Jul 28 15:55:49 PDT 2024
Branch: refs/heads/users/shiltian/07-28-_llvm_passbuilder_extend_the_function_signature_of_callback_for_optimizer_pipeline_extension_point
Home: https://github.com/llvm/llvm-project
Commit: 76c0d45679bb9ea90f882abc38f52cd05d8b6624
https://github.com/llvm/llvm-project/commit/76c0d45679bb9ea90f882abc38f52cd05d8b6624
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
M llvm/test/CodeGen/AMDGPU/amdgpu-attributor-no-agpr.ll
Log Message:
-----------
[Attributor][AMD] Enable AAIndirectCallInfo for AMDAttributorPass
Commit: 1e72ac703166c875ade098fdef12a9fbc63ae37e
https://github.com/llvm/llvm-project/commit/1e72ac703166c875ade098fdef12a9fbc63ae37e
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/tools/opt/NewPMDriver.cpp
Log Message:
-----------
[LLVM][PassBuilder] Extend the function signature of callback for optimizer pipeline extension point
These callbacks can be invoked in multiple places when building an optimization
pipeline, both in compile time and link time. However, there is no indicator on
what pipeline it is currently building.
In this patch, an extra argument is added to indicate its (Thin)LTO stage such
that the callback can check it if needed. There is no test expected from this,
and the benefit of this change will be demonstrated in https://github.com/llvm/llvm-project/pull/66488.
Compare: https://github.com/llvm/llvm-project/compare/d2bea2b14379...1e72ac703166
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