forked from OSchip/llvm-project
Fix operator precedence warning. NFCI.
This commit is contained in:
parent
464223b5ac
commit
e4380b07cc
|
@ -19288,8 +19288,9 @@ static SDValue formSplatFromShuffles(ShuffleVectorSDNode *OuterShuf,
|
|||
|
||||
CombinedMask[i] = InnerMaskElt;
|
||||
}
|
||||
assert(all_of(CombinedMask, [](int M) { return M == -1; }) ||
|
||||
getSplatIndex(CombinedMask) != -1 && "Expected a splat mask");
|
||||
assert((all_of(CombinedMask, [](int M) { return M == -1; }) ||
|
||||
getSplatIndex(CombinedMask) != -1) &&
|
||||
"Expected a splat mask");
|
||||
|
||||
// TODO: The transform may be a win even if the mask is not legal.
|
||||
EVT VT = OuterShuf->getValueType(0);
|
||||
|
|
Loading…
Reference in New Issue