Skip to content

Commit 97e6f92

Browse files
committed
Fix GCC Wparentheses warning. NFC.
1 parent ffeef75 commit 97e6f92

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6605,10 +6605,10 @@ LoopVectorizationCostModel::getInstructionCost(Instruction *I,
66056605
if (canTruncateToMinimalBitwidth(I, VF)) {
66066606
Instruction *Op0AsInstruction = dyn_cast<Instruction>(I->getOperand(0));
66076607
(void)Op0AsInstruction;
6608-
assert(!canTruncateToMinimalBitwidth(Op0AsInstruction, VF) ||
6609-
MinBWs[I] == MinBWs[Op0AsInstruction] &&
6610-
"if both the operand and the compare are marked for "
6611-
"truncation, they must have the same bitwidth");
6608+
assert((!canTruncateToMinimalBitwidth(Op0AsInstruction, VF) ||
6609+
MinBWs[I] == MinBWs[Op0AsInstruction]) &&
6610+
"if both the operand and the compare are marked for "
6611+
"truncation, they must have the same bitwidth");
66126612
ValTy = IntegerType::get(ValTy->getContext(), MinBWs[I]);
66136613
}
66146614

0 commit comments

Comments
 (0)