Clarify the meaning of '-2' register number
authorAnton Korobeynikov <asl@math.spbu.ru>
Sun, 11 Nov 2007 19:53:50 +0000 (19:53 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sun, 11 Nov 2007 19:53:50 +0000 (19:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43998 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Target.td

index c7aaed969e47a0d0e8285c83fc959003bc50cc5c..169953f0eaff25b08943848cafbb4a2c319b51a5 100644 (file)
@@ -53,7 +53,8 @@ class Register<string n> {
   // These values can be determined by locating the <target>.h file in the
   // directory llvmgcc/gcc/config/<target>/ and looking for REGISTER_NAMES.  The
   // order of these names correspond to the enumeration used by gcc.  A value of
-  // -1 indicates that the gcc number is undefined.
+  // -1 indicates that the gcc number is undefined and -2 that register number
+  // is invalid for this mode/flavour.
   list<int> DwarfNumbers = [];
 }
 
@@ -138,7 +139,8 @@ class DwarfRegNum<list<int> Numbers> {
   // These values can be determined by locating the <target>.h file in the
   // directory llvmgcc/gcc/config/<target>/ and looking for REGISTER_NAMES.  The
   // order of these names correspond to the enumeration used by gcc.  A value of
-  // -1 indicates that the gcc number is undefined.
+  // -1 indicates that the gcc number is undefined and -2 that register number is 
+  // invalid for this mode/flavour.
   list<int> DwarfNumbers = Numbers;
 }