Skip to content

Commit 1d30ae6

Browse files
authored
AMDGPU: Stop forcing RequiresCodeGenSCCOrder (#169522)
This hasn't been strictly necessary since c897c13. Practically this makes little difference; we still enable IPRA by default which implies this option. By removing this explicit force, -enable-ipra=0 has the expected change in the pass pipeline to remove the DummyCGSCC runs.
1 parent d7dcc10 commit 1d30ae6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,10 +1226,6 @@ class GCNPassConfig final : public AMDGPUPassConfig {
12261226
public:
12271227
GCNPassConfig(TargetMachine &TM, PassManagerBase &PM)
12281228
: AMDGPUPassConfig(TM, PM) {
1229-
// It is necessary to know the register usage of the entire call graph. We
1230-
// allow calls without EnableAMDGPUFunctionCalls if they are marked
1231-
// noinline, so this is always required.
1232-
setRequiresCodeGenSCCOrder(true);
12331229
substitutePass(&PostRASchedulerID, &PostMachineSchedulerID);
12341230
}
12351231

0 commit comments

Comments
 (0)