1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Make it legal to request a load or store of %fsr.

llvm-svn: 13073
This commit is contained in:
Brian Gaeke 2004-04-19 19:12:12 +00:00
parent c72f1fa822
commit 047739f8d8

View File

@ -808,6 +808,7 @@ SparcV9RegInfo::cpReg2MemMI(std::vector<MachineInstr*>& mvec,
cpReg2MemMI(mvec, scratchReg, PtrReg, Offset, IntRegType);
return;
case SpecialRegType: // used only for %fsr itself.
case FloatCCRegType: {
unsigned fsrReg = getUnifiedRegNum(SparcV9RegInfo::SpecialRegClassID,
SparcV9SpecialRegClass::fsr);
@ -898,6 +899,7 @@ SparcV9RegInfo::cpMem2RegMI(std::vector<MachineInstr*>& mvec,
SparcV9IntCCRegClass::ccr), MachineOperand::Def));
break;
case SpecialRegType: // used only for %fsr itself
case FloatCCRegType: {
unsigned fsrRegNum = getUnifiedRegNum(SparcV9RegInfo::SpecialRegClassID,
SparcV9SpecialRegClass::fsr);