From 9bef28eb9e224d641ce31a423e215ccf82bf1d43 Mon Sep 17 00:00:00 2001 From: rdivacky Date: Sat, 6 Mar 2010 09:22:29 +0000 Subject: Update LLVM to r97873. --- lib/CodeGen/PostRASchedulerList.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/CodeGen/PostRASchedulerList.cpp') diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp index f43395f..424181c 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 -- cgit v1.1