summaryrefslogtreecommitdiff
path: root/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
commitd23a41c153712b929bd84f5e713bda5db5d6e66d (patch)
tree0510f2d72a79dbbdb6f6db2438d4b7ea3006da3c /docs/TableGen
parent4a9256f265a7fcccd1f04518b55fd751f3a920a8 (diff)
downloadllvm-d23a41c153712b929bd84f5e713bda5db5d6e66d.tar.gz
llvm-d23a41c153712b929bd84f5e713bda5db5d6e66d.tar.bz2
llvm-d23a41c153712b929bd84f5e713bda5db5d6e66d.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TableGen')
-rw-r--r--docs/TableGen/LangRef.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/TableGen/LangRef.rst b/docs/TableGen/LangRef.rst
index 92fdb4a6e6..53fbe2d126 100644
--- a/docs/TableGen/LangRef.rst
+++ b/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