mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Make it legal to request a load or store of %fsr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13073 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a459abed2
commit
0eb61037f7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user