Use uint16_t to store registers in callee saved register tables to reduce size of static data.

llvm-svn: 151996
This commit is contained in:
Craig Topper
2012-03-04 03:33:22 +00:00
parent 6dedbae429
commit 420525ce3b
33 changed files with 55 additions and 55 deletions

View File

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