[PATCH] D37593: Docs: Add tablegen !con operator to examples
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 7 14:37:51 PDT 2017
arsenm created this revision.
Herald added a subscriber: wdng.
This is only mentioned in one place and doesn't
describe what it does.
I never knew about this before, and it could have
avoided extreme amounts of pain.
https://reviews.llvm.org/D37593
Files:
docs/TableGen/LangIntro.rst
Index: docs/TableGen/LangIntro.rst
===================================================================
--- docs/TableGen/LangIntro.rst
+++ docs/TableGen/LangIntro.rst
@@ -165,6 +165,9 @@
remaining elements in the list may be arbitrary other values, including
nested ```dag``' values.
+`` !con(a, b)``
+ A dag value that is the result of concatenating the 'a' and 'b' dags.
+
``!listconcat(a, b, ...)``
A list value that is the result of concatenating the 'a' and 'b' lists.
The lists must have the same element type.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37593.114258.patch
Type: text/x-patch
Size: 542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170907/3d0eb631/attachment.bin>
More information about the llvm-commits
mailing list