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 | 83484fdb8b6706512d2b2feba6cab50a3668a3bc (patch) | |
| tree | 094acc9de13304b112b44765f567722701d1de2f /llvm/lib/Transforms | |
| parent | 51aba6ffa9ef41b12c635acdd209875ffebb8ec5 (diff) | |
| download | bcm5719-llvm-83484fdb8b6706512d2b2feba6cab50a3668a3bc.tar.gz bcm5719-llvm-83484fdb8b6706512d2b2feba6cab50a3668a3bc.zip | |
InstCombine: Silence a parenthesis warning
llvm-svn: 222609
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp index 6127eaaa4dd..f59e3758101 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp +++ b/llvm/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 |

