mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Insert modified DBG_VALUE into LiveDbgValueMap.
llvm-svn: 144696
This commit is contained in:
parent
f68b81adb7
commit
11c550b1e5
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user