Skip to content

Commit e4380b0

Browse files
committed
Fix operator precedence warning. NFCI.
1 parent 464223b commit e4380b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19288,8 +19288,9 @@ static SDValue formSplatFromShuffles(ShuffleVectorSDNode *OuterShuf,
1928819288

1928919289
CombinedMask[i] = InnerMaskElt;
1929019290
}
19291-
assert(all_of(CombinedMask, [](int M) { return M == -1; }) ||
19292-
getSplatIndex(CombinedMask) != -1 && "Expected a splat mask");
19291+
assert((all_of(CombinedMask, [](int M) { return M == -1; }) ||
19292+
getSplatIndex(CombinedMask) != -1) &&
19293+
"Expected a splat mask");
1929319294

1929419295
// TODO: The transform may be a win even if the mask is not legal.
1929519296
EVT VT = OuterShuf->getValueType(0);

0 commit comments

Comments
 (0)