Skip to content

Commit 0f14f72

Browse files
committed
Revert "[llvm][CodeGen] Address the issue of multiple resource reservations in window scheduling (llvm#100301)"
This reverts commit aa0a33b.
1 parent 1525abb commit 0f14f72

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)