Skip to content

Commit 10a1ea9

Browse files
authored
[NFC][AMDGPU] Remove the empty FPM as well as the adaptor to MPM (#114558)
1 parent ea33af6 commit 10a1ea9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,6 @@ void AMDGPUTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
740740

741741
PB.registerPipelineStartEPCallback(
742742
[](ModulePassManager &PM, OptimizationLevel Level) {
743-
FunctionPassManager FPM;
744-
PM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM)));
745743
if (EnableHipStdPar)
746744
PM.addPass(HipStdParAcceleratorCodeSelectionPass());
747745
});

0 commit comments

Comments
 (0)