Skip to content

Commit d6afa3a

Browse files
bcahoonDavid Salinas
authored and
David Salinas
committed
Revert "[AMDGPU] Enable AMDGPUAttributorPass in full LTO (llvm#102673)"
This reverts commit dab6a0d. Change-Id: If294e28c78060369aa3ee49f68b41494ea7a79fa
1 parent 0fcc8dc commit d6afa3a

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -438,11 +438,6 @@ static cl::opt<bool> EnableHipStdPar(
438438
cl::desc("Enable HIP Standard Parallelism Offload support"), cl::init(false),
439439
cl::Hidden);
440440

441-
static cl::opt<bool>
442-
EnableAMDGPUAttributor("amdgpu-attributor-enable",
443-
cl::desc("Enable AMDGPUAttributorPass"),
444-
cl::init(true), cl::Hidden);
445-
446441
extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAMDGPUTarget() {
447442
// Register the target
448443
RegisterTargetMachine<R600TargetMachine> X(getTheR600Target());
@@ -816,8 +811,6 @@ void AMDGPUTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
816811
// module is partitioned for codegen.
817812
if (EnableLowerModuleLDS)
818813
PM.addPass(AMDGPULowerModuleLDSPass(*this));
819-
if (EnableAMDGPUAttributor && Level != OptimizationLevel::O0)
820-
PM.addPass(AMDGPUAttributorPass(*this));
821814
});
822815

823816
PB.registerRegClassFilterParsingCallback(

llvm/test/CodeGen/AMDGPU/print-pipeline-passes.ll

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)