mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[SLPVectorizer] Unbreak the build with -Werror.
GCC was complaining about `&&` within `||` without explicit parentheses. NFCI. llvm-svn: 309606
This commit is contained in:
parent
d5daa59720
commit
3c9ab0171a
@ -4385,9 +4385,9 @@ class HorizontalReduction {
|
||||
/// Checks if two operation data are both a reduction op or both a reduced
|
||||
/// value.
|
||||
bool operator==(const OperationData &OD) {
|
||||
assert((IsReducedValue != OD.IsReducedValue) ||
|
||||
((!LHS == !OD.LHS) && (!RHS == !OD.RHS)) &&
|
||||
"One of the comparing operations is incorrect.");
|
||||
assert(((IsReducedValue != OD.IsReducedValue) ||
|
||||
((!LHS == !OD.LHS) && (!RHS == !OD.RHS))) &&
|
||||
"One of the comparing operations is incorrect.");
|
||||
return this == &OD ||
|
||||
(IsReducedValue == OD.IsReducedValue && Opcode == OD.Opcode);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user