[PATCH] [tablegen] Add !listconcat operator with the similar semantics as !strconcat

Owen Anderson resistor at mac.com
Fri Apr 25 09:29:37 PDT 2014

What are the evaluation order semantics of this?  If I have several levels of class/multiclass hierarchy, each doing a concatenation, what order do they happen in?


On Apr 25, 2014, at 4:41 AM, Daniel Sanders <daniel.sanders at imgtec.com> wrote:

> It concatenates two or more lists. In addition to the !strconcat semantics
> the lists must have the same element type.
> My overall aim is to make it easy to append to Instruction.Predicates
> rather than override it. This can be done by concatenating lists passed as
> arguments, or by concatenating lists passed in additional fields.
> http://reviews.llvm.org/D3506
> Files:
>  docs/TableGen/LangIntro.rst
>  docs/TableGen/LangRef.rst
>  include/llvm/TableGen/Record.h
>  lib/TableGen/Record.cpp
>  lib/TableGen/TGLexer.cpp
>  lib/TableGen/TGLexer.h
>  lib/TableGen/TGParser.cpp
>  test/TableGen/listconcat.td
> <D3506.8836.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

More information about the llvm-commits mailing list