misched: Added handleMove support for updating all kill flags, not just for allocatab...
[oota-llvm.git] / lib / CodeGen / MachineScheduler.cpp
index 74190e935412dc7f58e89a3598ae1db3d84630a4..c55e8b78988d290f633fe762cc00825cb539a7c5 100644 (file)
@@ -360,7 +360,7 @@ void ScheduleDAGMI::moveInstruction(MachineInstr *MI,
   BB->splice(InsertPos, BB, MI);
 
   // Update LiveIntervals
-  LIS->handleMove(MI);
+  LIS->handleMove(MI, /*UpdateFlags=*/true);
 
   // Recede RegionBegin if an instruction moves above the first.
   if (RegionBegin == InsertPos)