Skip to content

Commit 3677b70

Browse files
committed
Delete stale code
Change-Id: I1ebeebd405e773e494ad7242f9a0017f1b5f6013
1 parent b5f00f7 commit 3677b70

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -941,12 +941,10 @@ void GCNScheduleDAGMILive::finalizeSchedule() {
941941
Pressure.resize(Regions.size());
942942
RegionsWithHighRP.resize(Regions.size());
943943
RegionsWithExcessRP.resize(Regions.size());
944-
RegionsWithExcessVGPRRP.resize(Regions.size());
945944
RegionsWithMinOcc.resize(Regions.size());
946945
RegionsWithIGLPInstrs.resize(Regions.size());
947946
RegionsWithHighRP.reset();
948947
RegionsWithExcessRP.reset();
949-
RegionsWithExcessVGPRRP.reset();
950948
RegionsWithMinOcc.reset();
951949
RegionsWithIGLPInstrs.reset();
952950

@@ -1341,9 +1339,6 @@ void GCNSchedStage::checkScheduling() {
13411339
unsigned MaxArchVGPRs = std::min(MaxVGPRs, ST.getAddressableNumArchVGPRs());
13421340
unsigned MaxSGPRs = ST.getMaxNumSGPRs(MF);
13431341

1344-
if (PressureAfter.getArchVGPRNum() > ST.getAddressableNumArchVGPRs())
1345-
DAG.RegionsWithExcessVGPRRP[RegionIdx] = true;
1346-
13471342
if (PressureAfter.getVGPRNum(ST.hasGFX90AInsts()) > MaxVGPRs ||
13481343
PressureAfter.getArchVGPRNum() > MaxArchVGPRs ||
13491344
PressureAfter.getAGPRNum() > MaxArchVGPRs ||

llvm/lib/Target/AMDGPU/GCNSchedStrategy.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,6 @@ class GCNScheduleDAGMILive final : public ScheduleDAGMILive {
250250
// limit. Register pressure in these regions usually will result in spilling.
251251
BitVector RegionsWithExcessRP;
252252

253-
// Regions that have VGPR RP which exceed the addressable limit.
254-
BitVector RegionsWithExcessVGPRRP;
255-
256253
// Regions that has the same occupancy as the latest MinOccupancy
257254
BitVector RegionsWithMinOcc;
258255

0 commit comments

Comments
 (0)