[LLVMdev] How are OutputOperandList and InputOperandList used?

Tim Northover t.p.northover at gmail.com
Tue Jan 14 00:22:36 PST 2014


On 14 January 2014 02:08, Thomson <lilotom at gmail.com> wrote:
> Thanks Tim. You are right and sorry for my typo. Another related question is
> some sub-instruction class override it by let expression, as `let
> InOperanList=ins` and some others seem redeclare it, such as `dag
> InOperandList = ins`. What's the different between these 2 usages?

As far as I know there's no difference in cases where both work. I
think the first time a field occurs (in the class hierarchy) it has to
have a type, but inherited definitions can use the "let" syntax.

Cheers.

Tim.



More information about the llvm-dev mailing list