mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Fix -Wparentheses
warnings. NFC.
This commit is contained in:
parent
80f1762659
commit
626ccbc573
@ -859,7 +859,8 @@ foldAndOrOfEqualityCmpsWithConstants(ICmpInst *LHS, ICmpInst *RHS,
|
||||
Value *InstCombiner::foldAndOrOfICmpsOfAndWithPow2(ICmpInst *LHS, ICmpInst *RHS,
|
||||
BinaryOperator &Logic) {
|
||||
bool JoinedByAnd = Logic.getOpcode() == Instruction::And;
|
||||
assert(JoinedByAnd || Logic.getOpcode() == Instruction::Or && "Wrong opcode");
|
||||
assert((JoinedByAnd || Logic.getOpcode() == Instruction::Or) &&
|
||||
"Wrong opcode");
|
||||
ICmpInst::Predicate Pred = LHS->getPredicate();
|
||||
if (Pred != RHS->getPredicate())
|
||||
return nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user