From 8e29373cbc33a3405963c95b5cbc10a179b4eff6 Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Thu, 4 Dec 2025 11:31:30 +0000 Subject: [PATCH] Fix assert: = -> == This was introduced in #169559 --- llvm/lib/Target/Hexagon/HexagonGenWideningVecInstr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/Hexagon/HexagonGenWideningVecInstr.cpp b/llvm/lib/Target/Hexagon/HexagonGenWideningVecInstr.cpp index 8df22ae6ebb06..f2b7daf5df896 100644 --- a/llvm/lib/Target/Hexagon/HexagonGenWideningVecInstr.cpp +++ b/llvm/lib/Target/Hexagon/HexagonGenWideningVecInstr.cpp @@ -349,7 +349,7 @@ Intrinsic::ID HexagonGenWideningVecInstr::getIntrinsic( llvm_unreachable("Incorrect input and output operand sizes"); case OP_Mul: - assert(ResEltSize = 2 * InEltSize); + assert(ResEltSize == 2 * InEltSize); // Enter inside 'if' block when one of the operand is constant vector if (IsConstScalar) { // When inputs are of 8bit type and output is 16bit type, enter 'if' block