Fix some more places where dbg_value affected codegen.

llvm-svn: 97765
This commit is contained in:
Dale Johannesen
2010-03-05 00:02:59 +00:00
parent 9984bd6092
commit 2061c84109
4 changed files with 22 additions and 4 deletions

View File

@@ -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