summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen/TGLexer.h
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-05-07 10:13:19 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-05-07 10:13:19 +0000
commit314e80e5f8d5d5233c062c489d41cef95a15e960 (patch)
tree9a21305ebde2a8b2a10c7203ab529e8d6525eb3f /llvm/lib/TableGen/TGLexer.h
parenta2125140aed42d35ecfea57e1d4998be91a998ff (diff)
downloadbcm5719-llvm-314e80e5f8d5d5233c062c489d41cef95a15e960.tar.gz
bcm5719-llvm-314e80e5f8d5d5233c062c489d41cef95a15e960.zip
[tablegen] Add !listconcat operator with the similar semantics as !strconcat
Summary: 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. Reviewers: dsanders Reviewed By: dsanders Subscribers: hfinkel, llvm-commits Differential Revision: http://reviews.llvm.org/D3506 llvm-svn: 208183
Diffstat (limited to 'llvm/lib/TableGen/TGLexer.h')
-rw-r--r--llvm/lib/TableGen/TGLexer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/TGLexer.h b/llvm/lib/TableGen/TGLexer.h
index d1bd70d2eca..1e599f84b06 100644
--- a/llvm/lib/TableGen/TGLexer.h
+++ b/llvm/lib/TableGen/TGLexer.h
@@ -47,7 +47,7 @@ namespace tgtok {
MultiClass, String,
// !keywords.
- XConcat, XADD, XSRA, XSRL, XSHL, XStrConcat, XCast, XSubst,
+ XConcat, XADD, XSRA, XSRL, XSHL, XListConcat, XStrConcat, XCast, XSubst,
XForEach, XHead, XTail, XEmpty, XIf, XEq,
// Integer value.
OpenPOWER on IntegriCloud