[llvm] [MachineScheduler][RISCV] Release the pending queue base on condition (PR #125468)
Piyou Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 11 22:54:20 PST 2025
================
@@ -3656,6 +3660,37 @@ void GenericScheduler::pickNodeFromQueue(SchedBoundary &Zone,
}
}
+void GenericScheduler::bumpCycleUntilReleaseSUFromPending(bool IsTop) {
+ if (!DAG->isTrackingPressure())
+ return;
+ auto releasePending = [&](ReadyQueue &Q, const RegPressureTracker &RegP,
----------------
BeMg wrote:
I'm a little confused about the naming convention for lambda functions. I was corrected from using `ReleasePending` to `releasePending`.
https://github.com/llvm/llvm-project/pull/125468
More information about the llvm-commits
mailing list