[PATCH] [tablegen] Add !listconcat operator with the similar semantics as !strconcat
Daniel Sanders
daniel.sanders at imgtec.com
Fri Apr 25 04:41:31 PDT 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3506.8836.patch
Type: text/x-patch
Size: 6626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140425/22da832f/attachment.bin>
More information about the llvm-commits
mailing list