[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcInternals.h
Vikram Adve
vadve at cs.uiuc.edu
Sun Jul 6 14:55:01 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
SparcInternals.h updated: 1.91 -> 1.92
---
Log message:
Make the RegClassID values public -- there is no other way to get them.
---
Diffs of the changes:
Index: llvm/lib/Target/Sparc/SparcInternals.h
diff -u llvm/lib/Target/Sparc/SparcInternals.h:1.91 llvm/lib/Target/Sparc/SparcInternals.h:1.92
--- llvm/lib/Target/Sparc/SparcInternals.h:1.91 Mon Jun 30 16:58:49 2003
+++ llvm/lib/Target/Sparc/SparcInternals.h Sun Jul 6 14:53:59 2003
@@ -249,8 +249,13 @@
//----------------------------------------------------------------------------
class UltraSparcRegInfo : public TargetRegInfo {
+public:
// The actual register classes in the Sparc
//
+ // **** WARNING: If this enum order is changed, also modify
+ // getRegisterClassOfValue method below since it assumes this particular
+ // order for efficiency.
+ //
enum RegClassIDs {
IntRegClassID, // Integer
FloatRegClassID, // Float (both single/double)
@@ -259,10 +264,7 @@
SpecialRegClassID // Special (unallocated) registers
};
- // **** WARNING: If the above enum order is changed, also modify
- // getRegisterClassOfValue method below since it assumes this particular
- // order for efficiency.
-
+private:
// Number of registers used for passing int args (usually 6: %o0 - %o5)
//
More information about the llvm-commits
mailing list