File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff 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 ||
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments