mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
InstCombine: Silence a parenthesis warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222609 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
06a07dadb9
commit
1c4abdb6ab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user