[all-commits] [llvm/llvm-project] 8ae74a: [PassBuilder] Add `LTOPreLink` to early simplicati...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Fri Nov 1 09:37:14 PDT 2024
Branch: refs/heads/users/shiltian/lto-pre-link-bool
Home: https://github.com/llvm/llvm-project
Commit: 8ae74a4c6a96eb0c44668d571aa61116eaa48cbe
https://github.com/llvm/llvm-project/commit/8ae74a4c6a96eb0c44668d571aa61116eaa48cbe
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-11-01 (Fri, 01 Nov 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/AMDGPUTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/test/CodeGen/AMDGPU/print-pipeline-passes.ll
M llvm/tools/opt/NewPMDriver.cpp
Log Message:
-----------
[PassBuilder] Add `LTOPreLink` to early simplication EP call backs
The early simplication pipeline is used in non-LTO and (Thin/Full)LTO pre-link
stage. There are some passes that we want them in non-LTO mode, but not at LTO
pre-link stage. The control is missing currently. This PR adds the support. To
demonstrate the use, we only enable the internalization pass in non-LTO mode for
AMDGPU because having it run in pre-link stage causes some issues.
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