diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-02-22 16:50:46 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-02-22 16:50:46 +0000 |
commit | bd5e07620148119ee909b09bca5496b6ef1ec85e (patch) | |
tree | ada1fb0a59392fcb1899104f25465e35b321df2d /llvm/lib/CodeGen/RegAllocFast.cpp | |
parent | 2a783d5b942c99ef49d68ac2b6d4f1b512837d56 (diff) | |
download | llvm-bd5e07620148119ee909b09bca5496b6ef1ec85e.zip llvm-bd5e07620148119ee909b09bca5496b6ef1ec85e.tar.gz llvm-bd5e07620148119ee909b09bca5496b6ef1ec85e.tar.bz2 |
80 col.
llvm-svn: 151167
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocFast.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp index 1a07145..afdfc73 100644 --- a/llvm/lib/CodeGen/RegAllocFast.cpp +++ b/llvm/lib/CodeGen/RegAllocFast.cpp @@ -232,7 +232,8 @@ void RAFast::addKillFlag(const LiveReg &LR) { /// killVirtReg - Mark virtreg as no longer available. void RAFast::killVirtReg(LiveRegMap::iterator LRI) { addKillFlag(*LRI); - assert(PhysRegState[LRI->PhysReg] == LRI->VirtReg && "Broken RegState mapping"); + assert(PhysRegState[LRI->PhysReg] == LRI->VirtReg && + "Broken RegState mapping"); PhysRegState[LRI->PhysReg] = regFree; // Erase from LiveVirtRegs unless we're spilling in bulk. if (!isBulkSpilling) @@ -304,8 +305,9 @@ void RAFast::spillVirtReg(MachineBasicBlock::iterator MI, DEBUG(dbgs() << "Inserting debug info due to spill:" << "\n" << *NewDV); } } - // Now this register is spilled there is should not be any DBG_VALUE pointing - // to this register because they are all pointing to spilled value now. + // Now this register is spilled there is should not be any DBG_VALUE + // pointing to this register because they are all pointing to spilled value + // now. LRIDbgValues.clear(); if (SpillKill) LR.LastUse = 0; // Don't kill register again |