aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-11-11 19:53:50 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-11-11 19:53:50 +0000
commit2e7eedf38270aa28e19fb14c849bfadc84eab9a8 (patch)
treecf0e1bd1a92a9e69ec30773b7cc3892f1eaf75bc
parentf191c80cd79ee35e47b5a4feed98d687782dfe85 (diff)
Clarify the meaning of '-2' register number
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43998 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Target.td6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index c7aaed969e..169953f0ea 100644
--- a/lib/Target/Target.td
+++ b/lib/Target/Target.td
@@ -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;
}