summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-11-15 21:03:58 +0000
committerDevang Patel <dpatel@apple.com>2011-11-15 21:03:58 +0000
commit43bde96a4c50866ecc9311d186220c9e1474d134 (patch)
treefd7be1858634f2413023aaa2065b1c8daf160e9a
parenta92a5d8548a68c7547b32ea34015bbcc23531196 (diff)
downloadbcm5719-llvm-43bde96a4c50866ecc9311d186220c9e1474d134.tar.gz
bcm5719-llvm-43bde96a4c50866ecc9311d186220c9e1474d134.zip
Insert modified DBG_VALUE into LiveDbgValueMap.
llvm-svn: 144696
-rw-r--r--llvm/lib/CodeGen/RegAllocFast.cpp2
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.
OpenPOWER on IntegriCloud