[LLVMdev] Why make the register list a dag for RegisterClass in target descriptor file?

Thomson lilotom at gmail.com
Sun Jan 19 02:19:33 PST 2014


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>?

class RegisterClass<string namespace,
list<ValueType> regTypes, int alignment, dag regList>

Thanks,
-Thomson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140119/86188ec8/attachment.html>


More information about the llvm-dev mailing list