summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-04-12 07:39:33 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-04-12 07:39:33 +0000
commit26e171f0a7a317a492fe2911bf106dec340cfad8 (patch)
tree68c0b63be73a09ea53a7bc016a8ad00a53c560b4
parente8f1ac7063c9d3fb09d7df081356508bcece3ec8 (diff)
downloadbcm5719-llvm-26e171f0a7a317a492fe2911bf106dec340cfad8.tar.gz
bcm5719-llvm-26e171f0a7a317a492fe2911bf106dec340cfad8.zip
[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
-rw-r--r--llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp b/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
index 3f01e8d8fd8..4376a30fdd9 100644
--- a/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
@@ -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,
/// advance the cycle until at least one node is ready. If multiple instructions
/// are ready, return NULL.
OpenPOWER on IntegriCloud