[llvm] d2d42dc - [CodeGen][MISched] Rename instance of Cycle -> ReleaseAtCycle
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 24 10:54:28 PST 2024
Author: Michael Maitland
Date: 2024-01-24T10:54:14-08:00
New Revision: d2d42dcfde7e9bf58e49b376ae7488ffac97f4c8
URL: https://github.com/llvm/llvm-project/commit/d2d42dcfde7e9bf58e49b376ae7488ffac97f4c8
DIFF: https://github.com/llvm/llvm-project/commit/d2d42dcfde7e9bf58e49b376ae7488ffac97f4c8.diff
LOG: [CodeGen][MISched] Rename instance of Cycle -> ReleaseAtCycle
b1ae461a5358932851de42b66ffde8748da51a83 renamed Cycle ->
ReleaseAtCycle.
7e09239e24b339f45f63a670e2e831150826bf70 was committed without rebasing
but used the old Cycle syntax.
This caused a build failure when
7e09239e24b339f45f63a670e2e831150826bf70 was squash-and-merged. This
patch fixes this problem.
Added:
Modified:
llvm/lib/CodeGen/MachineScheduler.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index f6d03f59f856478..363dd3aca6fe43f 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -4278,7 +4278,7 @@ unsigned ResourceSegments::getFirstAvailableAt(
// Zero resource usage is allowed by TargetSchedule.td but we do not construct
// a ResourceSegment interval for that situation.
- if (AcquireAtCycle == Cycle)
+ if (AcquireAtCycle == ReleaseAtCycle)
return CurrCycle;
unsigned RetCycle = CurrCycle;
More information about the llvm-commits
mailing list