[LLVMdev] Why is the Pattern field of TableGen's Instruction class a list?

Tom Stellard tom at stellard.net
Wed Jun 25 08:24:24 PDT 2014


Hi,

This is something I've always wondered.  The Pattern field of the
Instruction class in Target.td is defined as a list<dag>.  Why is this
a list?  Are there any examples of targets initializing this field to
a list with more than one item?

Thanks,
Tom



More information about the llvm-dev mailing list