Fix -Wparentheses gcc warning. NFCI.

llvm-svn: 335451
This commit is contained in:
Simon Pilgrim 2018-06-25 11:19:05 +00:00
parent e2fc89fdd6
commit 5b6b500687
1 changed files with 1 additions and 1 deletions

View File

@ -1950,7 +1950,7 @@ SDValue DAGCombiner::foldBinOpIntoSelect(SDNode *BO) {
}
static SDValue foldAddSubBoolOfMaskedVal(SDNode *N, SelectionDAG &DAG) {
assert(N->getOpcode() == ISD::ADD || N->getOpcode() == ISD::SUB &&
assert((N->getOpcode() == ISD::ADD || N->getOpcode() == ISD::SUB) &&
"Expecting add or sub");
// Match a constant operand and a zext operand for the math instruction: