Skip to content

Commit 6096503

Browse files
committed
fixup! [AIE2] Define target as out-of-order in .td
1 parent 04f6cb3 commit 6096503

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/lib/Target/AIE/AIEMachineScheduler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ int AIEPostRASchedStrategy::getMaxDeltaCycles(const SchedBoundary &Zone) const {
469469
}
470470

471471
bool AIEPostRASchedStrategy::isAvailableNode(SUnit &SU, SchedBoundary &Zone,
472-
bool /*VerifyReadyCycle*/) const {
472+
bool /*VerifyReadyCycle*/) {
473473
// Whether or not the zone is Top or Bot, verify if SU is ready to be
474474
// scheduled in terms of cycle.
475475
if (Zone.isTop())
@@ -855,7 +855,7 @@ const SUnit *findPressureReducer(unsigned CriticalPSet, ArrayRef<SUnit *> Nodes,
855855
}
856856

857857
bool AIEPreRASchedStrategy::isAvailableNode(SUnit &SU, SchedBoundary &Zone,
858-
bool /*VerifyReadyCycle*/) const {
858+
bool /*VerifyReadyCycle*/) {
859859
// Force verifying if SU is ready to be scheduled in terms of cycle.
860860
bool Avail = MachineSchedStrategy::isAvailableNode(SU, Zone,
861861
/*VerifyReadyCycle=*/true);

llvm/lib/Target/AIE/AIEMachineScheduler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class AIEPostRASchedStrategy : public PostGenericScheduler {
4646
std::optional<unsigned> &BotEmissionCycle) override;
4747

4848
bool isAvailableNode(SUnit &SU, SchedBoundary &Zone,
49-
bool VerifyReadyCycle) const override;
49+
bool VerifyReadyCycle) override;
5050

5151
/// Called after an SU is picked and its instruction re-inserted in the BB.
5252
/// This essentially updates the node's ReadyCycle to CurCycle, and notifies
@@ -163,7 +163,7 @@ class AIEPreRASchedStrategy : public GenericScheduler {
163163
void leaveRegion(const SUnit &ExitSU);
164164

165165
bool isAvailableNode(SUnit &SU, SchedBoundary &Zone,
166-
bool VerifyReadyCycle) const override;
166+
bool VerifyReadyCycle) override;
167167

168168
protected:
169169
/// Apply a set of heuristics to a new candidate for scheduling.

0 commit comments

Comments
 (0)