[llvm-commits] CVS: llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp SkeletonRegisterInfo.h

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



Changes in directory llvm/lib/Target/Skeleton:

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

Pass extra regclasses into spilling code


---
Diffs of the changes:  (+9 -5)

 SkeletonRegisterInfo.cpp |    6 ++++--
 SkeletonRegisterInfo.h   |    8 +++++---
 2 files changed, 9 insertions(+), 5 deletions(-)


Index: llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp
diff -u llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp:1.6 llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp:1.7
--- llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp:1.6	Fri Aug 19 13:35:41 2005
+++ llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp	Thu Sep 29 20:29:42 2005
@@ -22,13 +22,15 @@
 
 void SkeletonRegisterInfo::
 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
-                    unsigned SrcReg, int FrameIdx) const {
+                    unsigned SrcReg, int FrameIdx,
+                    const TargetRegisterClass *RC) const {
   abort();
 }
 
 void SkeletonRegisterInfo::
 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
-                     unsigned DestReg, int FrameIdx) const {
+                     unsigned DestReg, int FrameIdx,
+                     const TargetRegisterClass *RC) const {
   abort();
 }
 


Index: llvm/lib/Target/Skeleton/SkeletonRegisterInfo.h
diff -u llvm/lib/Target/Skeleton/SkeletonRegisterInfo.h:1.7 llvm/lib/Target/Skeleton/SkeletonRegisterInfo.h:1.8
--- llvm/lib/Target/Skeleton/SkeletonRegisterInfo.h:1.7	Fri Aug 19 13:35:41 2005
+++ llvm/lib/Target/Skeleton/SkeletonRegisterInfo.h	Thu Sep 29 20:29:42 2005
@@ -1,4 +1,4 @@
-//===- SkeletonRegisterInfo.h - Skeleton Register Information Impl -*- C++ -*-==//
+//===- SkeletonRegisterInfo.h - Skeleton Register Info Impl ------*- C++ -*-==//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -24,11 +24,13 @@
 
     void storeRegToStackSlot(MachineBasicBlock &MBB,
                              MachineBasicBlock::iterator MBBI,
-                             unsigned SrcReg, int FrameIndex) const;
+                             unsigned SrcReg, int FrameIndex,
+                             const TargetRegisterClass *RC) const;
 
     void loadRegFromStackSlot(MachineBasicBlock &MBB,
                               MachineBasicBlock::iterator MBBI,
-                              unsigned DestReg, int FrameIndex) const;
+                              unsigned DestReg, int FrameIndex,
+                              const TargetRegisterClass *RC) const;
 
     void copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
                       unsigned DestReg, unsigned SrcReg,






More information about the llvm-commits mailing list