forked from OSchip/llvm-project
parent
14b5d5a98e
commit
f8cb2419ee
|
@ -760,7 +760,7 @@ UltraSparcRegInfo::cpReg2MemMI(std::vector<MachineInstr*>& mvec,
|
|||
RegClass* RC = PRA.getRegClassByID(this->getRegClassIDOfRegType(RegType));
|
||||
OffReg = PRA.getUnusedUniRegAtMI(RC, RegType, MInst, LVSetBef);
|
||||
#else
|
||||
// Default to using register g2 for holding large offsets
|
||||
// Default to using register g4 for holding large offsets
|
||||
OffReg = getUnifiedRegNum(UltraSparcRegInfo::IntRegClassID,
|
||||
SparcIntRegClass::g4);
|
||||
#endif
|
||||
|
@ -845,7 +845,7 @@ UltraSparcRegInfo::cpMem2RegMI(std::vector<MachineInstr*>& mvec,
|
|||
RegClass* RC = PRA.getRegClassByID(this->getRegClassIDOfRegType(RegType));
|
||||
OffReg = PRA.getUnusedUniRegAtMI(RC, RegType, MInst, LVSetBef);
|
||||
#else
|
||||
// Default to using register g2 for holding large offsets
|
||||
// Default to using register g4 for holding large offsets
|
||||
OffReg = getUnifiedRegNum(UltraSparcRegInfo::IntRegClassID,
|
||||
SparcIntRegClass::g4);
|
||||
#endif
|
||||
|
|
|
@ -32,7 +32,7 @@ let Namespace = "SparcV9" in {
|
|||
|
||||
// For fun, specify a register class.
|
||||
//
|
||||
// FIXME: the register order should be defined in terms of the prefered
|
||||
// FIXME: the register order should be defined in terms of the preferred
|
||||
// allocation order...
|
||||
//
|
||||
def IntRegs : RegisterClass<i64, 8, [G0, G1, G2, G3, G4, G5, G6, G7,
|
||||
|
|
Loading…
Reference in New Issue