diff options
author | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-10-16 01:33:55 +0000 |
---|---|---|
committer | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-10-16 01:33:55 +0000 |
commit | 47c1372e09fd371cb928c7073abfa62a6f24d246 (patch) | |
tree | 5c0b34310265cef5eee196f1a04c116061914b66 /lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | |
parent | 92e251cc29d238154ba0c6aed48b5843e0b7b6b5 (diff) |
No major change - commented some debug code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAlloc/PhyRegAlloc.cpp')
-rw-r--r-- | lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index ca332ea20d..c39919a162 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -129,7 +129,7 @@ void PhyRegAlloc::addInterference(const Value *const Def, if( isCallInst ) { LROfVar->addCallInterference( (const Instruction *const) Def ); // cout << "\n ++Added Call Interf to set:"; - // LROfVar->printSet(); + //LROfVar->printSet(); } } else if(DEBUG_RA > 1) { @@ -275,7 +275,7 @@ void PhyRegAlloc::insertCallerSavingCode(const MachineInstr *MInst, { assert( (TM.getInstrInfo()).isCall( MInst->getOpCode() ) ); - int StackOff = 10; // ****TODO : Change + int StackOff = -8; // ****TODO : Change hash_set<unsigned> PushedRegSet; // Now find the LR of the return value of the call @@ -349,7 +349,7 @@ void PhyRegAlloc::insertCallerSavingCode(const MachineInstr *MInst, ((AddedInstrMap[MInst])->InstrnsAfter).push_back(AdIAft); PushedRegSet.insert( Reg ); - StackOff += 4; // ****TODO: Correct ?????? + StackOff -= 8; // ****TODO: Correct ?????? cout << "\n $$$ Inserted caller saving instr"; } // if not already pushed |