Skip to content

Commit d2d42dc

Browse files
[CodeGen][MISched] Rename instance of Cycle -> ReleaseAtCycle
b1ae461 renamed Cycle -> ReleaseAtCycle. 7e09239 was committed without rebasing but used the old Cycle syntax. This caused a build failure when 7e09239 was squash-and-merged. This patch fixes this problem.
1 parent be08be5 commit d2d42dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/MachineScheduler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4278,7 +4278,7 @@ unsigned ResourceSegments::getFirstAvailableAt(
42784278

42794279
// Zero resource usage is allowed by TargetSchedule.td but we do not construct
42804280
// a ResourceSegment interval for that situation.
4281-
if (AcquireAtCycle == Cycle)
4281+
if (AcquireAtCycle == ReleaseAtCycle)
42824282
return CurrCycle;
42834283

42844284
unsigned RetCycle = CurrCycle;

0 commit comments

Comments
 (0)