File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1088,6 +1088,15 @@ GCNTargetMachine::createMachineScheduler(MachineSchedContext *C) const {
10881088 if (SchedStrategy == " max-memory-clause" )
10891089 return createGCNMaxMemoryClauseMachineScheduler (C);
10901090
1091+ if (SchedStrategy == " iterative-ilp" )
1092+ return createIterativeILPMachineScheduler (C);
1093+
1094+ if (SchedStrategy == " iterative-minreg" )
1095+ return createMinRegScheduler (C);
1096+
1097+ if (SchedStrategy == " iterative-maxocc" )
1098+ return createIterativeGCNMaxOccupancyMachineScheduler (C);
1099+
10911100 return createGCNMaxOccupancyMachineScheduler (C);
10921101}
10931102
Original file line number Diff line number Diff line change 11; RUN: llc -mtriple=amdgcn -mcpu=tahiti -enable-amdgpu-aa=0 -misched=gcn-iterative-minreg -verify-machineinstrs < %s | FileCheck --check-prefix=SI-MINREG %s
22; RUN: llc -mtriple=amdgcn -mcpu=tahiti -enable-amdgpu-aa=0 -misched=gcn-iterative-max-occupancy-experimental -verify-machineinstrs < %s | FileCheck --check-prefix=SI-MAXOCC %s
3+ ; RUN: llc -mtriple=amdgcn -mcpu=tahiti -enable-amdgpu-aa=0 -amdgpu-sched-strategy=iterative-minreg -verify-machineinstrs < %s | FileCheck --check-prefix=SI-MINREG %s
4+ ; RUN: llc -mtriple=amdgcn -mcpu=tahiti -enable-amdgpu-aa=0 -amdgpu-sched-strategy=iterative-maxocc -verify-machineinstrs < %s | FileCheck --check-prefix=SI-MAXOCC %s
35; RUN: llc -mtriple=amdgcn -mcpu=fiji -enable-amdgpu-aa=0 -misched=gcn-iterative-minreg -verify-machineinstrs < %s | FileCheck --check-prefix=VI %s
46; RUN: llc -mtriple=amdgcn -mcpu=fiji -enable-amdgpu-aa=0 -misched=gcn-iterative-max-occupancy-experimental -verify-machineinstrs < %s | FileCheck --check-prefix=VI %s
7+ ; RUN: llc -mtriple=amdgcn -mcpu=fiji -enable-amdgpu-aa=0 -amdgpu-sched-strategy=iterative-minreg -verify-machineinstrs < %s | FileCheck --check-prefix=VI %s
8+ ; RUN: llc -mtriple=amdgcn -mcpu=fiji -enable-amdgpu-aa=0 -amdgpu-sched-strategy=iterative-maxocc -verify-machineinstrs < %s | FileCheck --check-prefix=VI %s
59
610; SI-MINREG: NumSgprs: {{[1-9]$}}
711; SI-MINREG: NumVgprs: {{[1-9]$}}
Original file line number Diff line number Diff line change 11; RUN: llc -mtriple=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck --check-prefix=MISCHED %s
22; RUN: llc -mtriple=amdgcn -mcpu=tonga -misched=gcn-iterative-ilp -verify-machineinstrs < %s | FileCheck --check-prefix=GCN-ILP %s
3+ ; RUN: llc -mtriple=amdgcn -mcpu=tonga -amdgpu-sched-strategy=iterative-ilp -verify-machineinstrs < %s | FileCheck --check-prefix=GCN-ILP %s
34
45; Test the scheduler when only one wave is requested. The result should be high register usage and max ILP.
56
You can’t perform that action at this time.
0 commit comments