projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[TableGen] Replace a logically negated xor of bools with just an equality comparison...
[oota-llvm.git]
/
utils
/
TableGen
/
AsmMatcherEmitter.cpp
diff --git
a/utils/TableGen/AsmMatcherEmitter.cpp
b/utils/TableGen/AsmMatcherEmitter.cpp
index 9a4390753c2fb70ff3654194593578d377468b8d..6e9a9484dc8863d93dc274165fc9a3ca27599150 100644
(file)
--- a/
utils/TableGen/AsmMatcherEmitter.cpp
+++ b/
utils/TableGen/AsmMatcherEmitter.cpp
@@
-589,7
+589,7
@@
struct MatchableInfo {
HasGT = true;
}
- return
!(HasLT ^ HasGT)
;
+ return
HasLT == HasGT
;
}
void dump() const;