From: Devang Patel Date: Tue, 15 Nov 2011 21:03:58 +0000 (+0000) Subject: Insert modified DBG_VALUE into LiveDbgValueMap. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d2df64f56970aa07d2d8733543e4baf6c7009e91;p=oota-llvm.git Insert modified DBG_VALUE into LiveDbgValueMap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144696 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAllocFast.cpp b/lib/CodeGen/RegAllocFast.cpp index b36a445291b..7ac38598c3a 100644 --- a/lib/CodeGen/RegAllocFast.cpp +++ b/lib/CodeGen/RegAllocFast.cpp @@ -815,7 +815,6 @@ void RAFast::AllocateBasicBlock() { if (!MO.isReg()) continue; unsigned Reg = MO.getReg(); if (!TargetRegisterInfo::isVirtualRegister(Reg)) continue; - LiveDbgValueMap[Reg].push_back(MI); LiveRegMap::iterator LRI = LiveVirtRegs.find(Reg); if (LRI != LiveVirtRegs.end()) setPhysReg(MI, i, LRI->second.PhysReg); @@ -849,6 +848,7 @@ void RAFast::AllocateBasicBlock() { } } } + LiveDbgValueMap[Reg].push_back(MI); } } // Next instruction.