[all-commits] [llvm/llvm-project] 56ab85: [PassBuilder] Add `LTOPreLink` to early simplicati...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Fri Nov 1 08:12:34 PDT 2024
Branch: refs/heads/users/shiltian/lto-pre-link-bool
Home: https://github.com/llvm/llvm-project
Commit: 56ab85b915f485cff23042c1689b12c3996ce6c5
https://github.com/llvm/llvm-project/commit/56ab85b915f485cff23042c1689b12c3996ce6c5
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