diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp b/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp index 2224cb2eb62..5e6bfc73ca5 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 |