@@ -21007,7 +21007,8 @@ static SDValue trySQDMULHCombine(SDNode *N, SelectionDAG &DAG) {
2100721007
2100821008 EVT DestVT = N->getValueType(0);
2100921009
21010- if (!DestVT.isVector() || DestVT.getScalarSizeInBits() > 64 || DestVT.isScalableVector())
21010+ if (!DestVT.isVector() || DestVT.getScalarSizeInBits() > 64 ||
21011+ DestVT.isScalableVector())
2101121012 return SDValue();
2101221013
2101321014 ConstantSDNode *Clamp = isConstOrConstSplat(N->getOperand(1));
@@ -21056,8 +21057,7 @@ static SDValue trySQDMULHCombine(SDNode *N, SelectionDAG &DAG) {
2105621057 EVT SExt0Type = SExt0.getOperand(0).getValueType();
2105721058 EVT SExt1Type = SExt1.getOperand(0).getValueType();
2105821059
21059- if (SExt0Type != SExt1Type ||
21060- SExt0Type.getScalarType() != ScalarType ||
21060+ if (SExt0Type != SExt1Type || SExt0Type.getScalarType() != ScalarType ||
2106121061 SExt0Type.getFixedSizeInBits() > 128)
2106221062 return SDValue();
2106321063
@@ -21067,10 +21067,9 @@ static SDValue trySQDMULHCombine(SDNode *N, SelectionDAG &DAG) {
2106721067
2106821068 // Ensure input vectors are extended to legal types
2106921069 if (SExt0Type.getFixedSizeInBits() < 64) {
21070- unsigned VecNumElements = SExt0Type.getVectorNumElements();
21071- EVT ExtVecVT =
21072- MVT::getVectorVT(MVT::getIntegerVT(64 / VecNumElements),
21073- VecNumElements);
21070+ unsigned VecNumElements = SExt0Type.getVectorNumElements();
21071+ EVT ExtVecVT = MVT::getVectorVT(MVT::getIntegerVT(64 / VecNumElements),
21072+ VecNumElements);
2107421073 V0 = DAG.getNode(ISD::SIGN_EXTEND, DL, ExtVecVT, V0);
2107521074 V1 = DAG.getNode(ISD::SIGN_EXTEND, DL, ExtVecVT, V1);
2107621075 }
0 commit comments