We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92122b0 commit 3493438Copy full SHA for 3493438
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
@@ -793,15 +793,6 @@ void AMDGPUTargetMachine::registerPassBuilderCallbacks(
793
794
PM.addPass(createCGSCCToFunctionPassAdaptor(std::move(FPM)));
795
});
796
-
797
- PB.registerFullLinkTimeOptimizationLastEPCallback(
798
- [this](ModulePassManager &PM, OptimizationLevel Level) {
799
- // We want to support the -lto-partitions=N option as "best effort".
800
- // For that, we need to lower LDS earlier in the pipeline before the
801
- // module is partitioned for codegen.
802
- if (EnableLowerModuleLDS)
803
- PM.addPass(AMDGPULowerModuleLDSPass(*this));
804
- });
805
}
806
807
int64_t AMDGPUTargetMachine::getNullPointerValue(unsigned AddrSpace) {
llvm/test/CodeGen/AMDGPU/lto-lower-module-lds.ll
0 commit comments