diff options
author | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-09-15 19:11:31 +0000 |
---|---|---|
committer | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-09-15 19:11:31 +0000 |
commit | 866f1385b4144655a9ad09da54f6d810fcf181f9 (patch) | |
tree | a98054adff6173daa32210eaed7d702094331056 /lib/Target/SparcV9/SparcV9TargetMachine.cpp | |
parent | 6053b9337bedd7fdcdea3742199708d2f173d878 (diff) | |
download | external_llvm-866f1385b4144655a9ad09da54f6d810fcf181f9.zip external_llvm-866f1385b4144655a9ad09da54f6d810fcf181f9.tar.gz external_llvm-866f1385b4144655a9ad09da54f6d810fcf181f9.tar.bz2 |
modified printing of debug messages
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r-- | lib/Target/SparcV9/SparcV9TargetMachine.cpp | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp index 2070af7..3e99980 100644 --- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp +++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp @@ -90,32 +90,7 @@ UltraSparcSchedInfo::initializeResources() -//--------------------------------------------------------------------------- -// class UltraSparcRegInfo -// -// Purpose: -// This class provides info about sparc register classes. -//-------------------------------------------------------------------------- - -#if 0 -UltraSparcRegInfo::UltraSparcRegInfo(const UltraSparc *const USI ) : - UltraSparcInfo(USI), - NumOfIntArgRegs(6), - NumOfFloatArgRegs(6) - { - MachineRegClassArr.push_back( new SparcIntRegClass(IntRegClassID) ); - MachineRegClassArr.push_back( new SparcFloatRegClass(FloatRegClassID) ); - MachineRegClassArr.push_back( new SparcIntCCRegClass(IntCCRegClassID) ); - MachineRegClassArr.push_back( new SparcFloatCCRegClass(FloatCCRegClassID)); - - assert( SparcFloatRegOrder::StartOfNonVolatileRegs == 6 && - "6 Float regs are used for float arg passing"); - } - - // ***** TODO insert deletes for reg classes -UltraSparcRegInfo::~UltraSparcRegInfo(void) { } // empty destructor -#endif //--------------------------------------------------------------------------- // UltraSparcRegInfo @@ -427,7 +402,7 @@ UltraSparc::UltraSparc() : TargetMachine("UltraSparc-Native"), optSizeForSubWordData = 4; minMemOpWordSize = 8; maxAtomicMemOpWordSize = 8; - zeroRegNum = 0; // %g0 always gives 0 on Sparc + zeroRegNum = RegInfo.getZeroReg(); // %g0 always gives 0 on Sparc } |