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 | 77d205152a2bbbbe10aef16266f3c66c461dc3fd (patch) | |
tree | c3a64140d077700e63243053dd1e0d7bed77d3b0 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | c62bb3914260c9b864dcf88e8a12ee645f5368da (diff) | |
download | bcm5719-llvm-77d205152a2bbbbe10aef16266f3c66c461dc3fd.tar.gz bcm5719-llvm-77d205152a2bbbbe10aef16266f3c66c461dc3fd.zip |
Disentangle moving a machine instr from updating LiveIntervals.
llvm-svn: 150552
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index ba87f5a7ab3..da52df9feae 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/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; } |