Skip to content

Commit 1013b6b

Browse files
committed
Silence a -Wparenthesis warning with these asserts. NFC.
llvm-svn: 215537
1 parent ed88297 commit 1013b6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7353,9 +7353,9 @@ static SDValue lowerV8I16SingleInputVectorShuffle(
73537353
auto balanceSides = [&](ArrayRef<int> AToAInputs, ArrayRef<int> BToAInputs,
73547354
ArrayRef<int> BToBInputs, ArrayRef<int> AToBInputs,
73557355
int AOffset, int BOffset) {
7356-
assert(AToAInputs.size() == 3 || AToAInputs.size() == 1 &&
7356+
assert((AToAInputs.size() == 3 || AToAInputs.size() == 1) &&
73577357
"Must call this with A having 3 or 1 inputs from the A half.");
7358-
assert(BToAInputs.size() == 1 || BToAInputs.size() == 3 &&
7358+
assert((BToAInputs.size() == 1 || BToAInputs.size() == 3) &&
73597359
"Must call this with B having 1 or 3 inputs from the B half.");
73607360
assert(AToAInputs.size() + BToAInputs.size() == 4 &&
73617361
"Must call this with either 3:1 or 1:3 inputs (summing to 4).");

0 commit comments

Comments
 (0)