Skip to content

Commit 58964c8

Browse files
authored
Revert "[llvm][CodeGen] Address the issue of multiple resource reservations in window scheduling (#100301)" (#101658)
This reverts commit aa0a33b.
1 parent 48d4d4b commit 58964c8

File tree

2 files changed

+1
-99
lines changed

2 files changed

+1
-99
lines changed

llvm/lib/CodeGen/WindowScheduler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ int WindowScheduler::calculateMaxCycle(ScheduleDAGInstrs &DAG,
451451
}
452452
RM.reserveResources(*SU, CurCycle);
453453
}
454+
RM.reserveResources(*SU, CurCycle);
454455
OriToCycle[getOriMI(&MI)] = CurCycle;
455456
LLVM_DEBUG(dbgs() << "\tCycle " << CurCycle << " [S."
456457
<< getOriStage(getOriMI(&MI), Offset) << "]: " << MI);

llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir

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

0 commit comments

Comments
 (0)