add register pressure for CR regs

llvm-svn: 145816
This commit is contained in:
Hal Finkel 2011-12-05 17:54:17 +00:00
parent 2a4c2f7998
commit b544019a60
1 changed files with 2 additions and 0 deletions

View File

@ -291,6 +291,8 @@ PPCRegisterInfo::getRegPressureLimit(const TargetRegisterClass *RC,
case PPC::F4RCRegClassID:
case PPC::VRRCRegClassID:
return 32 - DefaultSafety;
case PPC::CRRCRegClassID:
return 8 - DefaultSafety;
}
}