summaryrefslogtreecommitdiffstats
path: root/llvm/docs/TableGen
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-01-25 14:49:08 +0000
committerHal Finkel <hfinkel@anl.gov>2013-01-25 14:49:08 +0000
commitc7d4dc13a4817cf86b50aace1b68c6042e92fe22 (patch)
treed7148b3ffd3b9c7f174f62ebdc2476651c723f65 /llvm/docs/TableGen
parentc1056f90ae31eab1e42b83108520b96c62e8b726 (diff)
downloadbcm5719-llvm-c7d4dc13a4817cf86b50aace1b68c6042e92fe22.tar.gz
bcm5719-llvm-c7d4dc13a4817cf86b50aace1b68c6042e92fe22.zip
Add an addition operator to TableGen
This adds an !add(a, b) operator to tablegen; this will be used to cleanup the PPC register definitions. llvm-svn: 173445
Diffstat (limited to 'llvm/docs/TableGen')
-rw-r--r--llvm/docs/TableGen/LangRef.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/TableGen/LangRef.rst b/llvm/docs/TableGen/LangRef.rst
index 92fdb4a6e6d..53fbe2d126d 100644
--- a/llvm/docs/TableGen/LangRef.rst
+++ b/llvm/docs/TableGen/LangRef.rst
@@ -91,7 +91,7 @@ wide variety of meanings:
.. productionlist::
BangOperator: one of
:!eq !if !head !tail !con
- :!shl !sra !srl
+ :!add !shl !sra !srl
:!cast !empty !subst !foreach !strconcat
Syntax
OpenPOWER on IntegriCloud