mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 11:39:35 +00:00
changed since names of some methods in PhyRegAlloc changed
llvm-svn: 1324
This commit is contained in:
parent
63203e9c07
commit
22092f4ced
@ -707,7 +707,7 @@ void UltraSparcRegInfo::colorCallArgs(const MachineInstr *const CallMI,
|
|||||||
// fails, then use the following code. Currently, we cannot call the
|
// fails, then use the following code. Currently, we cannot call the
|
||||||
// above method since we cannot find LVSetBefore without the BB
|
// above method since we cannot find LVSetBefore without the BB
|
||||||
|
|
||||||
int TReg = PRA.getRegNotUsedByThisInst( LR->getRegClass(), CallMI );
|
int TReg = PRA.getUniRegNotUsedByThisInst( LR->getRegClass(), CallMI );
|
||||||
|
|
||||||
/**** NOTE: THIS SHOULD USE THE RIGHT SIZE FOR THE REG BEING PUSHED ****/
|
/**** NOTE: THIS SHOULD USE THE RIGHT SIZE FOR THE REG BEING PUSHED ****/
|
||||||
int TmpOff = PRA.mcInfo.pushTempValue(target, 8);
|
int TmpOff = PRA.mcInfo.pushTempValue(target, 8);
|
||||||
@ -1194,7 +1194,7 @@ void UltraSparcRegInfo::insertCallerSavingCode(const MachineInstr *MInst,
|
|||||||
|
|
||||||
// get a free INTEGER register
|
// get a free INTEGER register
|
||||||
int FreeIntReg =
|
int FreeIntReg =
|
||||||
PRA.getUsableRegAtMI(LR->getRegClass(), IntRegType, MInst,
|
PRA.getUsableUniRegAtMI(LR->getRegClass(), IntRegType, MInst,
|
||||||
LVSetBef, AdIBefCC, AdIAftCC);
|
LVSetBef, AdIBefCC, AdIAftCC);
|
||||||
|
|
||||||
// insert the instructions in reverse order since we are
|
// insert the instructions in reverse order since we are
|
||||||
@ -1232,7 +1232,7 @@ void UltraSparcRegInfo::insertCallerSavingCode(const MachineInstr *MInst,
|
|||||||
|
|
||||||
// get a free INT register
|
// get a free INT register
|
||||||
int FreeIntReg =
|
int FreeIntReg =
|
||||||
PRA.getUsableRegAtMI(LR->getRegClass(), IntRegType, MInst,
|
PRA.getUsableUniRegAtMI(LR->getRegClass(), IntRegType, MInst,
|
||||||
LVSetAft, AdIBefCC, AdIAftCC);
|
LVSetAft, AdIBefCC, AdIAftCC);
|
||||||
|
|
||||||
if(AdIBefCC)
|
if(AdIBefCC)
|
||||||
|
Loading…
Reference in New Issue
Block a user