Skip to content

Commit a2419ac

Browse files
kwkkcloudy0717
authored andcommitted
[Hexagon] Fix assert: = -> == (llvm#170643)
This was introduced in llvm#169559
1 parent b8f24a5 commit a2419ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/Hexagon/HexagonGenWideningVecInstr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ Intrinsic::ID HexagonGenWideningVecInstr::getIntrinsic(
349349
llvm_unreachable("Incorrect input and output operand sizes");
350350

351351
case OP_Mul:
352-
assert(ResEltSize = 2 * InEltSize);
352+
assert(ResEltSize == 2 * InEltSize);
353353
// Enter inside 'if' block when one of the operand is constant vector
354354
if (IsConstScalar) {
355355
// When inputs are of 8bit type and output is 16bit type, enter 'if' block

0 commit comments

Comments
 (0)