From 0644bb865e3e207b7deb035917d0660c52e672e2 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sun, 11 Nov 2007 19:53:50 +0000 Subject: [PATCH] Clarify the meaning of '-2' register number llvm-svn: 43998 --- llvm/lib/Target/Target.td | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/Target.td b/llvm/lib/Target/Target.td index c7aaed969e47..169953f0eaff 100644 --- a/llvm/lib/Target/Target.td +++ b/llvm/lib/Target/Target.td @@ -53,7 +53,8 @@ class Register { // These values can be determined by locating the .h file in the // directory llvmgcc/gcc/config// 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 DwarfNumbers = []; } @@ -138,7 +139,8 @@ class DwarfRegNum Numbers> { // These values can be determined by locating the .h file in the // directory llvmgcc/gcc/config// 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 DwarfNumbers = Numbers; }