aboutsummaryrefslogtreecommitdiffstats
path: root/docs/TableGen/LangRef.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/TableGen/LangRef.rst')
-rw-r--r--docs/TableGen/LangRef.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/TableGen/LangRef.rst b/docs/TableGen/LangRef.rst
index 9b074be..134afed 100644
--- a/docs/TableGen/LangRef.rst
+++ b/docs/TableGen/LangRef.rst
@@ -55,6 +55,10 @@ One aspect to note is that the :token:`DecimalInteger` token *includes* the
``+`` or ``-``, as opposed to having ``+`` and ``-`` be unary operators as
most languages do.
+Also note that :token:`BinInteger` creates a value of type ``bits<n>``
+(where ``n`` is the number of bits). This will implicitly convert to
+integers when needed.
+
TableGen has identifier-like tokens:
.. productionlist::
@@ -92,7 +96,7 @@ wide variety of meanings:
.. productionlist::
BangOperator: one of
:!eq !if !head !tail !con
- :!add !shl !sra !srl
+ :!add !shl !sra !srl !and
:!cast !empty !subst !foreach !listconcat !strconcat
Syntax