diff options
author | Lang Hames <lhames@gmail.com> | 2012-02-15 01:23:52 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-02-15 01:23:52 +0000 |
commit | da7984fbbac967ddbe5de4e789f8f37c673a7d75 (patch) | |
tree | b33581b63edba531487915a1c3764e4bb5216e6c /lib/CodeGen/MachineScheduler.cpp | |
parent | bbfa5c02be2ef2a9ff965a4dcfe9e99665dcf0ef (diff) |
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
Diffstat (limited to 'lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | lib/CodeGen/MachineScheduler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp index ba87f5a7ab..da52df9fea 100644 --- a/lib/CodeGen/MachineScheduler.cpp +++ b/lib/CodeGen/MachineScheduler.cpp @@ -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; } |