Make consistent use of MCPhysReg instead of uint16_t throughout the tree.

llvm-svn: 205610
This commit is contained in:
Craig Topper
2014-04-04 05:16:06 +00:00
parent 79ed5d44e7
commit 840beec2d0
63 changed files with 171 additions and 171 deletions

View File

@@ -583,7 +583,7 @@ MachineFrameInfo::getPristineRegs(const MachineBasicBlock *MBB) const {
if (!isCalleeSavedInfoValid())
return BV;
for (const uint16_t *CSR = TRI->getCalleeSavedRegs(MF); CSR && *CSR; ++CSR)
for (const MCPhysReg *CSR = TRI->getCalleeSavedRegs(MF); CSR && *CSR; ++CSR)
BV.set(*CSR);
// The entry MBB always has all CSRs pristine.