[LLVMdev] Why make the register list a dag for RegisterClass in target descriptor file?
lilotom at gmail.com
Sun Jan 19 16:59:57 PST 2014
Thanks Tim. Is there any document about these operators? Such how does each
set represent a different RegClass?
On Sun, Jan 19, 2014 at 7:57 PM, Tim Northover <t.p.northover at gmail.com>wrote:
> On 19 January 2014 10:19, Thomson <lilotom at gmail.com> wrote:
> > The blow snippet in target.td shows the regList in RegisterClass is
> typed as
> > dag. Why not make it a simple list, such as list<Register>?
> I don't know about the original reason, but these days we have a few
> operators in use to make constructing those sets easier which would be
> much harder to do for lists. E.g. "(sequence "R%u", 0, 12)", "(sub
> GPR, PC)" from ARM.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev