[llvm] r329885 - [HexagonMachineScheduler] Remove local (copied) getWeakLeft().
Jonas Paulsson via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 12 00:39:33 PDT 2018
Author: jonpa
Date: Thu Apr 12 00:39:33 2018
New Revision: 329885
URL: http://llvm.org/viewvc/llvm-project?rev=329885&view=rev
Log:
[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.
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonMachineScheduler.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonMachineScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonMachineScheduler.cpp?rev=329885&r1=329884&r2=329885&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonMachineScheduler.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonMachineScheduler.cpp Thu Apr 12 00:39:33 2018
@@ -451,10 +451,6 @@ void ConvergingVLIWScheduler::VLIWSchedB
}
}
-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.
More information about the llvm-commits
mailing list