diff --git a/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp b/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp index 573316a5ce9..f4b80d2f755 100644 --- a/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp +++ b/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp @@ -1965,8 +1965,9 @@ HexagonTargetLowering::LowerHvxOperationWrapper(SDNode *N, switch (Opc) { case ISD::STORE: { SDValue Value = cast(N)->getValue(); - unsigned Action = getPreferredHvxVectorAction(ty(Value)); - assert(Action == TargetLoweringBase::TypeWidenVector && "Not widening?"); + assert(getPreferredHvxVectorAction(ty(Value)) == + TargetLoweringBase::TypeWidenVector && + "Not widening?"); SDValue Store = WidenHvxStore(SDValue(N, 0), DAG); Results.push_back(Store); break;