From 217311130d83f04c05d4248c557cef4bc8994e50 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 12 Sep 2009 02:01:07 +0000 Subject: [PATCH] 80 col violations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81598 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/LiveIntervalAnalysis.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index b3e6aa72920..5095e087aa1 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -717,7 +717,8 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb, // block to the 'use' slot of the killing instruction. for (unsigned i = 0, e = vi.Kills.size(); i != e; ++i) { MachineInstr *Kill = vi.Kills[i]; - MachineInstrIndex killIdx = getUseIndex(getInstructionIndex(Kill)).nextSlot(); + MachineInstrIndex killIdx = + getUseIndex(getInstructionIndex(Kill)).nextSlot(); LiveRange LR(getMBBStartIdx(Kill->getParent()), killIdx, ValNo); interval.addRange(LR); @@ -775,7 +776,8 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb, // If this redefinition is dead, we need to add a dummy unit live // range covering the def slot. if (MO.isDead()) - interval.addRange(LiveRange(RedefIndex, RedefIndex.nextSlot(), OldValNo)); + interval.addRange(LiveRange(RedefIndex, + RedefIndex.nextSlot(), OldValNo)); DEBUG({ errs() << " RESULT: "; @@ -793,7 +795,8 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb, VNInfo *VNI = interval.getValNumInfo(0); MachineInstr *Killer = vi.Kills[0]; MachineInstrIndex Start = getMBBStartIdx(Killer->getParent()); - MachineInstrIndex End = getUseIndex(getInstructionIndex(Killer)).nextSlot(); + MachineInstrIndex End = + getUseIndex(getInstructionIndex(Killer)).nextSlot(); DEBUG({ errs() << " Removing [" << Start << "," << End << "] from: "; interval.print(errs(), tri_); @@ -2348,7 +2351,7 @@ addIntervalsForSpills(const LiveInterval &li, if (FoundUse) { // Also folded uses, do not issue a load. eraseRestoreInfo(Id, index, VReg, RestoreMBBs, RestoreIdxes); - nI.removeRange(getLoadIndex(index), getUseIndex(index).nextSlot()); + nI.removeRange(getLoadIndex(index),getUseIndex(index).nextSlot()); } nI.removeRange(getDefIndex(index), getStoreIndex(index)); } @@ -2551,7 +2554,8 @@ bool LiveIntervals::spillPhysRegAroundRegDefsUses(const LiveInterval &li, continue; LiveInterval &spli = getInterval(*AS); if (spli.liveAt(Index)) - spli.removeRange(getLoadIndex(Index), getStoreIndex(Index).nextSlot()); + spli.removeRange(getLoadIndex(Index), + getStoreIndex(Index).nextSlot()); } } }