[llvm-commits] [llvm] r152099 - /llvm/trunk/include/llvm/MC/MCRegisterInfo.h

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Mar 5 19:58:18 PST 2012


On Mar 5, 2012, at 7:28 PM, Craig Topper wrote:

> Author: ctopper
> Date: Mon Mar  5 21:28:45 2012
> New Revision: 152099
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=152099&view=rev
> Log:
> Revert r152016 and allow overlap, sub, super register tables to be more than 64k entries.

Thanks, Craig.

If you are looking for more space savings, you can probably find a lot of common suffixes in those tables.

The sub and super tables must be topologically ordered, but there are no requirements on the overlaps lists, except that the first element must be reg itself. You can reorder the list so that either the sub or the super list is a suffix.

If you do this, please use a generic class to handle the suffix compression. It may be useful for other TableGen stuff.

/jakob





More information about the llvm-commits mailing list