[llvm] r317385 - [CallSiteSplitting] Silence GCC's -Wparentheses. NFCI.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 3 16:12:02 PDT 2017
Can you run clang-format-diff?
On Fri, Nov 3, 2017 at 4:03 PM, Davide Italiano via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: davide
> Date: Fri Nov 3 16:03:38 2017
> New Revision: 317385
>
> URL: http://llvm.org/viewvc/llvm-project?rev=317385&view=rev
> Log:
> [CallSiteSplitting] Silence GCC's -Wparentheses. NFCI.
>
> Modified:
> llvm/trunk/lib/Transforms/Scalar/CallSiteSplitting.cpp
>
> Modified: llvm/trunk/lib/Transforms/Scalar/CallSiteSplitting.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/
> CallSiteSplitting.cpp?rev=317385&r1=317384&r2=317385&view=diff
> ============================================================
> ==================
> --- llvm/trunk/lib/Transforms/Scalar/CallSiteSplitting.cpp (original)
> +++ llvm/trunk/lib/Transforms/Scalar/CallSiteSplitting.cpp Fri Nov 3
> 16:03:38 2017
> @@ -126,8 +126,8 @@ static bool createCallSitesOnOrPredicate
> 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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171103/1abd1623/attachment-0001.html>
More information about the llvm-commits
mailing list