diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-11-22 06:09:28 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-11-22 06:09:28 +0000 |
commit | 1c4abdb6ab6e959418b82f235e3f7c8646c7792c (patch) | |
tree | d2e713ab2b848d7c5061fa0d717f6c649fc9ec58 | |
parent | 06a07dadb98de646747048554e5c602808fb6ddd (diff) |
InstCombine: Silence a parenthesis warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222609 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/InstCombine/InstCombineCompares.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineCompares.cpp b/lib/Transforms/InstCombine/InstCombineCompares.cpp index 6127eaaa4dd..f59e3758101 100644 --- a/lib/Transforms/InstCombine/InstCombineCompares.cpp +++ b/lib/Transforms/InstCombine/InstCombineCompares.cpp @@ -2550,7 +2550,7 @@ static bool isChainSelectCmpBranch(const SelectInst *SI) { bool InstCombiner::replacedSelectWithOperand(SelectInst *SI, const ICmpInst *Icmp, const unsigned SIOpd) { - assert(SIOpd == 1 || SIOpd == 2 && "Invalid select operand!\n"); + assert((SIOpd == 1 || SIOpd == 2) && "Invalid select operand!"); if (isChainSelectCmpBranch(SI) && Icmp->getPredicate() == ICmpInst::ICMP_EQ) { BasicBlock *Succ = SI->getParent()->getTerminator()->getSuccessor(1); // The check for the unique predecessor is not the best that can be |