forked from OSchip/llvm-project
[GISel] Add parentheses to an assert because gcc is mean.
llvm-svn: 348900
This commit is contained in:
parent
ef65d6c5c4
commit
502865bddb
|
@ -179,7 +179,7 @@ MachineInstrBuilder MachineIRBuilder::buildGlobalValue(unsigned Res,
|
|||
|
||||
void MachineIRBuilder::validateBinaryOp(const LLT &Res, const LLT &Op0,
|
||||
const LLT &Op1) {
|
||||
assert(Res.isScalar() || Res.isVector() && "invalid operand type");
|
||||
assert((Res.isScalar() || Res.isVector()) && "invalid operand type");
|
||||
assert((Res == Op0 && Res == Op1) && "type mismatch");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue