diff options
author | Andrew Trick <atrick@apple.com> | 2012-10-16 00:22:51 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-10-16 00:22:51 +0000 |
commit | 27c28cef11da5373d9a146060f9c10a3c6ab58e3 (patch) | |
tree | 161cadfaad5b7070fea7b421c0db22404a659ca0 /lib/CodeGen/MachineScheduler.cpp | |
parent | feab72c20acc97f8942148189c06e443b29df841 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | lib/CodeGen/MachineScheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp index 74190e9354..c55e8b7898 100644 --- a/lib/CodeGen/MachineScheduler.cpp +++ b/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) |