diff options
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 c78b971e79..1fbe5258b2 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -453,7 +453,7 @@ void PhyRegAlloc::updateMachineCode() unsigned Opcode = MInst->getOpCode(); // do not process Phis - if (TM.getInstrInfo().isPhi(Opcode)) + if (TM.getInstrInfo().isDummyPhiInstr(Opcode)) continue; // Now insert speical instructions (if necessary) for call/return @@ -741,8 +741,8 @@ int PhyRegAlloc::getUsableUniRegAtMI(RegClass *RC, const int RegType, const MachineInstr *MInst, const ValueSet *LVSetBef, - MachineInstr *MIBef, - MachineInstr *MIAft) { + MachineInstr *&MIBef, + MachineInstr *&MIAft) { int RegU = getUnusedUniRegAtMI(RC, MInst, LVSetBef); |