[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Mon Apr 19 14:13:02 PDT 2004


Changes in directory llvm/lib/Target/SparcV9:

SparcV9RegInfo.cpp updated: 1.122 -> 1.123

---
Log message:

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


---
Diffs of the changes:  (+2 -0)

Index: llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.122 llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.123
--- llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.122	Mon Apr 19 13:53:43 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp	Mon Apr 19 14:12:12 2004
@@ -808,6 +808,7 @@
     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 @@
                                     SparcV9IntCCRegClass::ccr), MachineOperand::Def));
     break;
     
+  case SpecialRegType: // used only for %fsr itself
   case FloatCCRegType: {
     unsigned fsrRegNum =  getUnifiedRegNum(SparcV9RegInfo::SpecialRegClassID,
                                            SparcV9SpecialRegClass::fsr);





More information about the llvm-commits mailing list