diff options
author | Devang Patel <dpatel@apple.com> | 2011-11-15 21:03:58 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-11-15 21:03:58 +0000 |
commit | 43bde96a4c50866ecc9311d186220c9e1474d134 (patch) | |
tree | fd7be1858634f2413023aaa2065b1c8daf160e9a /llvm/lib/CodeGen/RegAllocFast.cpp | |
parent | a92a5d8548a68c7547b32ea34015bbcc23531196 (diff) | |
download | bcm5719-llvm-43bde96a4c50866ecc9311d186220c9e1474d134.tar.gz bcm5719-llvm-43bde96a4c50866ecc9311d186220c9e1474d134.zip |
Insert modified DBG_VALUE into LiveDbgValueMap.
llvm-svn: 144696
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocFast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp index b36a445291b..7ac38598c3a 100644 --- a/llvm/lib/CodeGen/RegAllocFast.cpp +++ b/llvm/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. |