Disentangle moving a machine instr from updating LiveIntervals.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150552 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames
2012-02-15 01:23:52 +00:00
parent bbfa5c02be
commit da7984fbba
3 changed files with 14 additions and 17 deletions

View File

@ -229,7 +229,8 @@ void ScheduleTopDownLive::Schedule() {
if (&*InsertPos == MI)
++InsertPos;
else {
Pass->LIS->moveInstr(InsertPos, MI);
BB->splice(InsertPos, BB, MI);
Pass->LIS->handleMove(MI);
if (Begin == InsertPos)
Begin = MI;
}