From 91b4790b33eb0f484bf3f7c07fb4f6e24d9fd098 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Fri, 3 Nov 2017 23:03:38 +0000 Subject: [PATCH] [CallSiteSplitting] Silence GCC's -Wparentheses. NFCI. llvm-svn: 317385 --- llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp b/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp index 2224cb2..5e6bfc7 100644 --- a/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp +++ b/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp @@ -126,8 +126,8 @@ static bool createCallSitesOnOrPredicatedArgument( Instruction *&CallUntakenFromHeader = IsCSInTakenPath ? NewCSTakenFromNextCond : NewCSTakenFromHeader; - assert(Pred == ICmpInst::ICMP_EQ || - Pred == ICmpInst::ICMP_NE && + assert((Pred == ICmpInst::ICMP_EQ || + Pred == ICmpInst::ICMP_NE) && "Unexpected predicate in an OR condition"); // Set the constant value for agruments in the call predicated based on -- 2.7.4