[HexagonMachineScheduler] Remove local (copied) getWeakLeft().

Since the common code getWeakLeft() is now available, there should not
be a local copy of this function in target.

llvm-svn: 329885
This commit is contained in:
Jonas Paulsson 2018-04-12 07:39:33 +00:00
parent e8f1ac7063
commit 26e171f0a7
1 changed files with 0 additions and 4 deletions

View File

@ -451,10 +451,6 @@ void ConvergingVLIWScheduler::VLIWSchedBoundary::removeReady(SUnit *SU) {
} }
} }
static unsigned getWeakLeft(const SUnit *SU, bool IsTop) {
return (IsTop) ? SU->WeakPredsLeft : SU->WeakSuccsLeft;
}
/// If this queue only has one ready candidate, return it. As a side effect, /// If this queue only has one ready candidate, return it. As a side effect,
/// advance the cycle until at least one node is ready. If multiple instructions /// advance the cycle until at least one node is ready. If multiple instructions
/// are ready, return NULL. /// are ready, return NULL.