[llvm] 10a1ea9 - [NFC][AMDGPU] Remove the empty FPM as well as the adaptor to MPM (#114558)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 09:21:30 PDT 2024
Author: Shilei Tian
Date: 2024-11-01T12:21:26-04:00
New Revision: 10a1ea9b53647c1511d3cce8fa7637f8ffdb39b5
URL: https://github.com/llvm/llvm-project/commit/10a1ea9b53647c1511d3cce8fa7637f8ffdb39b5
DIFF: https://github.com/llvm/llvm-project/commit/10a1ea9b53647c1511d3cce8fa7637f8ffdb39b5.diff
LOG: [NFC][AMDGPU] Remove the empty FPM as well as the adaptor to MPM (#114558)
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
index d93ec34a703d3d..ad03017aae1c17 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
@@ -740,8 +740,6 @@ void AMDGPUTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
PB.registerPipelineStartEPCallback(
[](ModulePassManager &PM, OptimizationLevel Level) {
- FunctionPassManager FPM;
- PM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM)));
if (EnableHipStdPar)
PM.addPass(HipStdParAcceleratorCodeSelectionPass());
});
More information about the llvm-commits
mailing list