projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bb66bd
)
[TableGen] Replace a logically negated xor of bools with just an equality comparison...
author
Craig Topper
<craig.topper@gmail.com>
Sun, 3 Jan 2016 07:33:39 +0000
(07:33 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 3 Jan 2016 07:33:39 +0000
(07:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256699
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/AsmMatcherEmitter.cpp
patch
|
blob
|
history
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;