[llvm] r258626 - Silence a -Wparentheses warning; NFC.
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 23 07:42:21 PST 2016
Author: aaronballman
Date: Sat Jan 23 09:42:21 2016
New Revision: 258626
URL: http://llvm.org/viewvc/llvm-project?rev=258626&view=rev
Log:
Silence a -Wparentheses warning; NFC.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
Modified: llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp?rev=258626&r1=258625&r2=258626&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp Sat Jan 23 09:42:21 2016
@@ -1414,7 +1414,7 @@ static SDValue emitConjunctionDisjunctio
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.
More information about the llvm-commits
mailing list