summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-10-16 00:22:51 +0000
committerAndrew Trick <atrick@apple.com>2012-10-16 00:22:51 +0000
commitd9d4be0d57bb2c16a4ec7a878f666f0b07fa60eb (patch)
tree651ec5e3a9c354c4657e4f72b06d96d3861f236a /llvm/lib/CodeGen/MachineScheduler.cpp
parent5d88a068eed8625b9668db9f6b254ae5d2a0e187 (diff)
downloadbcm5719-llvm-d9d4be0d57bb2c16a4ec7a878f666f0b07fa60eb.tar.gz
bcm5719-llvm-d9d4be0d57bb2c16a4ec7a878f666f0b07fa60eb.zip
misched: Added handleMove support for updating all kill flags, not just for allocatable regs.
This is a medium term workaround until we have a more robust solution in the form of a register liveness utility for postRA passes. llvm-svn: 166001
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index 74190e93541..c55e8b78988 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -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)
OpenPOWER on IntegriCloud