[llvm] [llvm][CodeGen] Address the issue of multiple resource reservations in window scheduling (PR #100301)
Hua Tian via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 04:14:31 PDT 2024
================
@@ -451,7 +451,6 @@ int WindowScheduler::calculateMaxCycle(ScheduleDAGInstrs &DAG,
}
RM.reserveResources(*SU, CurCycle);
}
- RM.reserveResources(*SU, CurCycle);
----------------
huaatian wrote:
This line is really redundant. It will cause the instruction to occupy too many resources and fail to emit properly.
https://github.com/llvm/llvm-project/pull/100301
More information about the llvm-commits
mailing list