Index: lib/CodeGen/MachineScheduler.cpp =================================================================== --- lib/CodeGen/MachineScheduler.cpp +++ lib/CodeGen/MachineScheduler.cpp @@ -2159,6 +2159,8 @@ HazardRec->Reset(); } HazardRec->EmitInstruction(SU); + // Scheduling an instruction may have made pending instructions available. + CheckPending = true; } // checkHazard should prevent scheduling multiple instructions per cycle that // exceed the issue width.