projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add an addition operator to TableGen
[oota-llvm.git]
/
lib
/
TableGen
/
TGLexer.cpp
diff --git
a/lib/TableGen/TGLexer.cpp
b/lib/TableGen/TGLexer.cpp
index d733f142aa62e21c22f2263a099264dd7abaccb1..e75abcfa38b92f62fee9cce5799912ff7fcd0bb6 100644
(file)
--- a/
lib/TableGen/TGLexer.cpp
+++ b/
lib/TableGen/TGLexer.cpp
@@
-462,6
+462,7
@@
tgtok::TokKind TGLexer::LexExclaim() {
.Case("head", tgtok::XHead)
.Case("tail", tgtok::XTail)
.Case("con", tgtok::XConcat)
+ .Case("add", tgtok::XADD)
.Case("shl", tgtok::XSHL)
.Case("sra", tgtok::XSRA)
.Case("srl", tgtok::XSRL)