projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
366ae9c
)
Fix boolean/bitwise operator precedence warnings. NFCI.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Sat, 15 Feb 2020 13:53:18 +0000
(13:53 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Sat, 15 Feb 2020 13:53:18 +0000
(13:53 +0000)
llvm/lib/Transforms/IPO/Attributor.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/IPO/Attributor.cpp
b/llvm/lib/Transforms/IPO/Attributor.cpp
index
2bbe220
..
5ebe007
100644
(file)
--- a/
llvm/lib/Transforms/IPO/Attributor.cpp
+++ b/
llvm/lib/Transforms/IPO/Attributor.cpp
@@
-6256,7
+6256,7
@@
protected:
AccessKind Kind;
bool operator==(const AccessInfo &RHS) const {
- return I == RHS.I &
Ptr == RHS.Ptr
& Kind == RHS.Kind;
+ return I == RHS.I &
& Ptr == RHS.Ptr &
& Kind == RHS.Kind;
}
bool operator()(const AccessInfo &LHS, const AccessInfo &RHS) const {
if (LHS.I != RHS.I)