summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp6
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);
}
OpenPOWER on IntegriCloud