bf2 instruction scheduler:
In case of failed schefule fail earlier,
do not try to schedule to cycles which are illegal and cannot succeed.
May in some cases make (loop) scheduling run slightly faster.
Do not affect the end result
@@ -107,7 +107,7 @@ bool BF2ScheduleFront::scheduleFrontFromMove(MoveNode& mn) {
" max latency+1: " << targetMachine().maximumLatency()+1
<< std::endl;
#endif
- if (latest <
+ if (latest < 0 || latest <
(smallestRMCycle - (targetMachine().maximumLatency()+1))) {
if (Application::verboseLevel() > 1 ||
rm().initiationInterval() == 0) {
