diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2018-03-14 11:00:26 +0000 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2018-03-14 11:00:26 +0000 |
commit | 6c118656380f5ee8827e73fb6e4fc5aa0950dee4 (patch) | |
tree | 0bb7e07dbc5f760d678ab5013bfe8b5bb1947554 /llvm/lib/TableGen/TGLexer.h | |
parent | 3a17e75be9589517e03f59fe03fc39bebfccd0ce (diff) | |
download | bcm5719-llvm-6c118656380f5ee8827e73fb6e4fc5aa0950dee4.tar.gz bcm5719-llvm-6c118656380f5ee8827e73fb6e4fc5aa0950dee4.zip |
TableGen: Add !dag function for construction
This allows constructing DAG nodes with programmatically determined
names, and can simplify constructing DAG nodes in other cases as
well.
Also, add documentation and some very simple tests for the already
existing !con.
Change-Id: Ida61cd82e99752548d7109ce8da34d29da56a5f7
Differential revision: https://reviews.llvm.org/D44110
llvm-svn: 327492
Diffstat (limited to 'llvm/lib/TableGen/TGLexer.h')
-rw-r--r-- | llvm/lib/TableGen/TGLexer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/TGLexer.h b/llvm/lib/TableGen/TGLexer.h index 2ffc2efdc30..18559773d74 100644 --- a/llvm/lib/TableGen/TGLexer.h +++ b/llvm/lib/TableGen/TGLexer.h @@ -48,7 +48,7 @@ namespace tgtok { // !keywords. XConcat, XADD, XAND, XOR, XSRA, XSRL, XSHL, XListConcat, XStrConcat, XCast, - XSubst, XForEach, XFoldl, XHead, XTail, XSize, XEmpty, XIf, XEq, XIsA, + XSubst, XForEach, XFoldl, XHead, XTail, XSize, XEmpty, XIf, XEq, XIsA, XDag, // Integer value. IntVal, |