From ab11289986a83ad70ceaa1ab291e308bbcb0052c Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Sat, 23 Jan 2016 15:42:21 +0000 Subject: [PATCH] Silence a -Wparentheses warning; NFC. llvm-svn: 258626 --- lib/Target/AArch64/AArch64ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/AArch64/AArch64ISelLowering.cpp b/lib/Target/AArch64/AArch64ISelLowering.cpp index 0687bd803e8..7a5f1cb1efd 100644 --- a/lib/Target/AArch64/AArch64ISelLowering.cpp +++ b/lib/Target/AArch64/AArch64ISelLowering.cpp @@ -1414,7 +1414,7 @@ static SDValue emitConjunctionDisjunctionTreeRec(SelectionDAG &DAG, SDValue Val, return emitConditionalComparison(LHS, RHS, CC, CCOp, Predicate, OutCC, DL, DAG); } - assert(Opcode == ISD::AND || Opcode == ISD::OR && Val->hasOneUse() + assert(Opcode == ISD::AND || (Opcode == ISD::OR && Val->hasOneUse()) && "Valid conjunction/disjunction tree"); // Check if both sides can be transformed.