diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-01-25 14:49:08 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-01-25 14:49:08 +0000 |
commit | d23a41c153712b929bd84f5e713bda5db5d6e66d (patch) | |
tree | 0510f2d72a79dbbdb6f6db2438d4b7ea3006da3c /include/llvm/TableGen | |
parent | 4a9256f265a7fcccd1f04518b55fd751f3a920a8 (diff) | |
download | llvm-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 'include/llvm/TableGen')
-rw-r--r-- | include/llvm/TableGen/Record.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/TableGen/Record.h b/include/llvm/TableGen/Record.h index f3e0142222..6450185632 100644 --- a/include/llvm/TableGen/Record.h +++ b/include/llvm/TableGen/Record.h @@ -930,7 +930,7 @@ public: /// class BinOpInit : public OpInit { public: - enum BinaryOp { SHL, SRA, SRL, STRCONCAT, CONCAT, EQ }; + enum BinaryOp { ADD, SHL, SRA, SRL, STRCONCAT, CONCAT, EQ }; private: BinaryOp Opc; Init *LHS, *RHS; |