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; }