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