[llvm-commits] [llvm] r43998 - /llvm/trunk/lib/Target/Target.td

Evan Cheng evan.cheng at apple.com
Sun Nov 11 18:38:36 PST 2007


Hi Anton,

Thanks for doing this. But...

On Nov 11, 2007, at 11:53 AM, Anton Korobeynikov wrote:

> Author: asl
> Date: Sun Nov 11 13:53:50 2007
> New Revision: 43998
>
> URL: http://llvm.org/viewvc/llvm-project?rev=43998&view=rev
> Log:
> Clarify the meaning of '-2' register number
>
> Modified:
>     llvm/trunk/lib/Target/Target.td
>
> Modified: llvm/trunk/lib/Target/Target.td
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ 
> Target.td?rev=43998&r1=43997&r2=43998&view=diff
>
> ====================================================================== 
> ========
> --- llvm/trunk/lib/Target/Target.td (original)
> +++ llvm/trunk/lib/Target/Target.td Sun Nov 11 13:53:50 2007
> @@ -53,7 +53,8 @@
>    // 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 = [];
>  }

Why do we want to refer to gcc source for these numbers?

Evan

>
> @@ -138,7 +139,8 @@
>    // 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;
>  }
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list