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

Chris Lattner lattner at cs.uiuc.edu
Thu Sep 29 18:29:56 PDT 2005



Changes in directory llvm/lib/Target/SparcV9:

SparcV9RegisterInfo.cpp updated: 1.5 -> 1.6
SparcV9RegisterInfo.h updated: 1.7 -> 1.8
---
Log message:

Pass extra regclasses into spilling code


---
Diffs of the changes:  (+8 -4)

 SparcV9RegisterInfo.cpp |    6 ++++--
 SparcV9RegisterInfo.h   |    6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.5 llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.6
--- llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.5	Thu Apr 21 18:25:42 2005
+++ llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp	Thu Sep 29 20:29:42 2005
@@ -278,13 +278,15 @@
 
 void SparcV9RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
                                          MachineBasicBlock::iterator MI,
-                                         unsigned SrcReg, int FrameIndex) const{
+                                         unsigned SrcReg, int FrameIndex,
+                                         const TargetRegisterClass *RC) const {
   abort ();
 }
 
 void SparcV9RegisterInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
                                           MachineBasicBlock::iterator MI,
-                                          unsigned DestReg, int FrameIndex) const {
+                                          unsigned DestReg, int FrameIndex,
+                                          const TargetRegisterClass *RC) const {
   abort ();
 }
 


Index: llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.7 llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.8
--- llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.7	Thu Apr 21 18:25:42 2005
+++ llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h	Thu Sep 29 20:29:42 2005
@@ -27,10 +27,12 @@
   // The rest of these are stubs... for now.
   void storeRegToStackSlot(MachineBasicBlock &MBB,
                            MachineBasicBlock::iterator MI,
-                           unsigned SrcReg, int FrameIndex) const;
+                           unsigned SrcReg, int FrameIndex,
+                           const TargetRegisterClass *RC) const;
   void loadRegFromStackSlot(MachineBasicBlock &MBB,
                             MachineBasicBlock::iterator MI,
-                            unsigned DestReg, int FrameIndex) const;
+                            unsigned DestReg, int FrameIndex,
+                            const TargetRegisterClass *RC) const;
   void copyRegToReg(MachineBasicBlock &MBB,
                     MachineBasicBlock::iterator MI,
                     unsigned DestReg, unsigned SrcReg,






More information about the llvm-commits mailing list