diff options
| author | Davide Italiano <davide@freebsd.org> | 2017-07-31 19:14:19 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2017-07-31 19:14:19 +0000 |
| commit | e4c2782cbac2f6e7dec59531a508e88db560b64b (patch) | |
| tree | cb806e819198d58cb8437f67fab0ed736c6d5e46 /llvm/lib | |
| parent | aee5a8743e3aeb9a816fb05753239b9ca4821063 (diff) | |
| download | bcm5719-llvm-e4c2782cbac2f6e7dec59531a508e88db560b64b.tar.gz bcm5719-llvm-e4c2782cbac2f6e7dec59531a508e88db560b64b.zip | |
[SLPVectorizer] Unbreak the build with -Werror.
GCC was complaining about `&&` within `||` without explicit
parentheses. NFCI.
llvm-svn: 309606
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 05ee05af31e..93a6d1c00a8 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -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); } |

