diff options
author | Dale Johannesen <dalej@apple.com> | 2010-03-05 00:02:59 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-03-05 00:02:59 +0000 |
commit | b0812f114b83a32c4b90a4b553c7177c557558b5 (patch) | |
tree | 24518a64cc329d5dbb4ae5cd2e75d5ff7d7ab76c /lib/CodeGen/PostRASchedulerList.cpp | |
parent | e1d50cd5e4ff7f4d977cc8bda720a58737e7cf8d (diff) | |
download | llvm-b0812f114b83a32c4b90a4b553c7177c557558b5.tar.gz llvm-b0812f114b83a32c4b90a4b553c7177c557558b5.tar.bz2 llvm-b0812f114b83a32c4b90a4b553c7177c557558b5.tar.xz |
Fix some more places where dbg_value affected codegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PostRASchedulerList.cpp')
-rw-r--r-- | lib/CodeGen/PostRASchedulerList.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp index f43395fa2e..424181c025 100644 --- a/lib/CodeGen/PostRASchedulerList.cpp +++ b/lib/CodeGen/PostRASchedulerList.cpp @@ -460,6 +460,8 @@ void SchedulePostRATDList::FixupKills(MachineBasicBlock *MBB) { for (MachineBasicBlock::iterator I = MBB->end(), E = MBB->begin(); I != E; --Count) { MachineInstr *MI = --I; + if (MI->isDebugValue()) + continue; // Update liveness. Registers that are defed but not used in this // instruction are now dead. Mark register and all subregs as they |