mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
Fix two typos I found in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9806 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3e2959e2a0
commit
641271df3c
@ -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…
x
Reference in New Issue
Block a user