[llvm-commits] [llvm] r152016 - in /llvm/trunk: include/llvm/MC/ include/llvm/Target/ lib/CodeGen/ lib/CodeGen/AsmPrinter/ lib/Target/ARM/ lib/Target/Hexagon/ lib/Target/Mips/ utils/TableGen/

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Mar 5 10:31:31 PST 2012


On Mar 4, 2012, at 9:37 PM, Craig Topper wrote:

> struct MCRegisterDesc {
>   const char *Name;         // Printable name for the reg (for debugging)
> -  unsigned   Overlaps;      // Overlapping registers, described above
> -  unsigned   SubRegs;       // Sub-register set, described above
> -  unsigned   SuperRegs;     // Super-register set, described above
> +  uint16_t   Overlaps;      // Overlapping registers, described above
> +  uint16_t   SubRegs;       // Sub-register set, described above
> +  uint16_t   SuperRegs;     // Super-register set, described above
> };

You can't limit the size of these tables to 64k entries.

Also, please add exact checks to TableGen for all the new limits you have imposed.

/jakob




More information about the llvm-commits mailing list