summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocFast.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-22 16:50:46 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-22 16:50:46 +0000
commit91ba63d230bfc3e035d2851d039e08f34f0b9bbd (patch)
tree9a16d00d90402f7c5d352966947f36e5ce387b09 /lib/CodeGen/RegAllocFast.cpp
parentdfb4fe2862a91b23f20be08d1f1fb3a2e8344ee4 (diff)
downloadllvm-91ba63d230bfc3e035d2851d039e08f34f0b9bbd.tar.gz
llvm-91ba63d230bfc3e035d2851d039e08f34f0b9bbd.tar.bz2
llvm-91ba63d230bfc3e035d2851d039e08f34f0b9bbd.tar.xz
80 col.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocFast.cpp')
-rw-r--r--lib/CodeGen/RegAllocFast.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAllocFast.cpp b/lib/CodeGen/RegAllocFast.cpp
index 1a07145636..afdfc73793 100644
--- a/lib/CodeGen/RegAllocFast.cpp
+++ b/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