[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h

Chris Lattner lattner at cs.uiuc.edu
Fri Sep 30 10:35:34 PDT 2005



Changes in directory llvm/include/llvm/Target:

MRegisterInfo.h updated: 1.60 -> 1.61
---
Log message:

trim down the target info structs now that we have a preferred spill register class for each callee save register


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

 MRegisterInfo.h |   14 --------------
 1 files changed, 14 deletions(-)


Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.60 llvm/include/llvm/Target/MRegisterInfo.h:1.61
--- llvm/include/llvm/Target/MRegisterInfo.h:1.60	Fri Sep 30 02:06:37 2005
+++ llvm/include/llvm/Target/MRegisterInfo.h	Fri Sep 30 12:35:22 2005
@@ -36,8 +36,6 @@
 struct MRegisterDesc {
   const char     *Name;         // Assembly language name for the register
   const unsigned *AliasSet;     // Register Alias Set, described above
-  unsigned char SpillSize;      // Size of this register in bytes
-  unsigned char SpillAlignment; // Alignment of stack slot for this reg
 };
 
 class TargetRegisterClass {
@@ -189,18 +187,6 @@
     return get(RegNo).Name;
   }
 
-  /// getSpillSize - Return the size in bits required of a stack slot used to
-  /// spill register into.
-  unsigned getSpillSize(unsigned RegNo) const {
-    return get(RegNo).SpillSize;
-  }
-
-  /// getSpillAlignment - Return the alignment required by a stack slot used to
-  /// spill register into.
-  unsigned getSpillAlignment(unsigned RegNo) const {
-    return get(RegNo).SpillAlignment;
-  }
-
   /// getNumRegs - Return the number of registers this target has
   /// (useful for sizing arrays holding per register information)
   unsigned getNumRegs() const {






More information about the llvm-commits mailing list