[llvm] r258676 - Silence a -Wparentheses warning; NFC.

Junmo Park via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 25 02:17:17 PST 2016


Author: flyingforyou
Date: Mon Jan 25 04:17:17 2016
New Revision: 258676

URL: http://llvm.org/viewvc/llvm-project?rev=258676&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=258676&r1=258675&r2=258676&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp Mon Jan 25 04:17:17 2016
@@ -1414,8 +1414,8 @@ static SDValue emitConjunctionDisjunctio
     return emitConditionalComparison(LHS, RHS, CC, CCOp, Predicate, OutCC, DL,
                                      DAG);
   }
-  assert(Opcode == ISD::AND || (Opcode == ISD::OR && Val->hasOneUse())
-         && "Valid conjunction/disjunction tree");
+  assert((Opcode == ISD::AND || (Opcode == ISD::OR && Val->hasOneUse())) &&
+         "Valid conjunction/disjunction tree");
 
   // Check if both sides can be transformed.
   SDValue LHS = Val->getOperand(0);




More information about the llvm-commits mailing list