aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-07 07:18:41 +0000
committerChris Lattner <sabre@nondot.org>2004-08-07 07:18:41 +0000
commitecf8afdc2065dec1ca739e2b6a96f8e72dc34533 (patch)
treeab6cfdcffdaff7f0f73a16a82f78c80419cd8964 /lib/CodeGen
parentd555da52f4301f0a221845d5a549848f5ae84577 (diff)
downloadexternal_llvm-ecf8afdc2065dec1ca739e2b6a96f8e72dc34533.zip
external_llvm-ecf8afdc2065dec1ca739e2b6a96f8e72dc34533.tar.gz
external_llvm-ecf8afdc2065dec1ca739e2b6a96f8e72dc34533.tar.bz2
Ok get rid of the REST of the tabs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/PrologEpilogInserter.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp
index 25e1f80..b698170 100644
--- a/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/lib/CodeGen/PrologEpilogInserter.cpp
@@ -139,10 +139,10 @@ void PEI::saveCallerSavedRegisters(MachineFunction &Fn) {
} else {
for (const unsigned *AliasSet = RegInfo->getAliasSet(Reg);
*AliasSet; ++AliasSet) { // Check alias registers too...
- if (ModifiedRegs[*AliasSet]) {
+ if (ModifiedRegs[*AliasSet]) {
RegsToSave.push_back(Reg);
break;
- }
+ }
}
}
}
@@ -178,9 +178,9 @@ void PEI::saveCallerSavedRegisters(MachineFunction &Fn) {
I = MBB->end(); --I;
for (unsigned i = 0, e = RegsToSave.size(); i != e; ++i) {
- const TargetRegisterClass *RC = RegInfo->getRegClass(RegsToSave[i]);
- RegInfo->loadRegFromStackSlot(*MBB, I, RegsToSave[i],StackSlots[i], RC);
- --I; // Insert in reverse order
+ const TargetRegisterClass *RC = RegInfo->getRegClass(RegsToSave[i]);
+ RegInfo->loadRegFromStackSlot(*MBB, I, RegsToSave[i],StackSlots[i], RC);
+ --I; // Insert in reverse order
}
}
}
@@ -291,10 +291,10 @@ void PEI::replaceFrameIndices(MachineFunction &Fn) {
for (MachineFunction::iterator BB = Fn.begin(), E = Fn.end(); BB != E; ++BB)
for (MachineBasicBlock::iterator I = BB->begin(); I != BB->end(); ++I)
for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i)
- if (I->getOperand(i).isFrameIndex()) {
- // If this instruction has a FrameIndex operand, we need to use that
- // target machine register info object to eliminate it.
- MRI.eliminateFrameIndex(Fn, I);
- break;
- }
+ if (I->getOperand(i).isFrameIndex()) {
+ // If this instruction has a FrameIndex operand, we need to use that
+ // target machine register info object to eliminate it.
+ MRI.eliminateFrameIndex(Fn, I);
+ break;
+ }
}