Skip to content

Commit 7275256

Browse files
[NFC] Rename AArch64ISD::SRAD_MERGE_OP1 as ASRD_MERGE_OP1.
This aligns with the specific instruction it represents.
1 parent 17e06aa commit 7275256

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16254,7 +16254,7 @@ SDValue AArch64TargetLowering::LowerDIV(SDValue Op, SelectionDAG &DAG) const {
1625416254
SplatVal > 1) {
1625516255
SDValue Pg = getPredicateForScalableVector(DAG, DL, VT);
1625616256
SDValue Res =
16257-
DAG.getNode(AArch64ISD::SRAD_MERGE_OP1, DL, VT, Pg, Op->getOperand(0),
16257+
DAG.getNode(AArch64ISD::ASRD_MERGE_OP1, DL, VT, Pg, Op->getOperand(0),
1625816258
DAG.getTargetConstant(Log2_64(SplatVal), DL, MVT::i32));
1625916259
if (Negated)
1626016260
Res = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Res);
@@ -22942,7 +22942,7 @@ static SDValue performIntrinsicCombine(SDNode *N,
2294222942
return DAG.getNode(ISD::USUBSAT, SDLoc(N), N->getValueType(0),
2294322943
N->getOperand(1), N->getOperand(2));
2294422944
case Intrinsic::aarch64_sve_asrd:
22945-
return DAG.getNode(AArch64ISD::SRAD_MERGE_OP1, SDLoc(N), N->getValueType(0),
22945+
return DAG.getNode(AArch64ISD::ASRD_MERGE_OP1, SDLoc(N), N->getValueType(0),
2294622946
N->getOperand(1), N->getOperand(2), N->getOperand(3));
2294722947
case Intrinsic::aarch64_sve_cmphs:
2294822948
if (!N->getOperand(2).getValueType().isFloatingPoint())
@@ -30047,7 +30047,7 @@ SDValue AArch64TargetLowering::LowerFixedLengthVectorIntDivideToSVE(
3004730047

3004830048
SDValue Pg = getPredicateForFixedLengthVector(DAG, DL, VT);
3004930049
SDValue Res =
30050-
DAG.getNode(AArch64ISD::SRAD_MERGE_OP1, DL, ContainerVT, Pg, Op1, Op2);
30050+
DAG.getNode(AArch64ISD::ASRD_MERGE_OP1, DL, ContainerVT, Pg, Op1, Op2);
3005130051
if (Negated)
3005230052
Res = DAG.getNode(ISD::SUB, DL, ContainerVT,
3005330053
DAG.getConstant(0, DL, ContainerVT), Res);

llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def SDT_AArch64Arith_Imm : SDTypeProfile<1, 3, [
265265
SDTCVecEltisVT<1,i1>, SDTCisSameAs<0,2>
266266
]>;
267267

268-
def AArch64asrd_m1 : SDNode<"AArch64ISD::SRAD_MERGE_OP1", SDT_AArch64Arith_Imm>;
268+
def AArch64asrd_m1 : SDNode<"AArch64ISD::ASRD_MERGE_OP1", SDT_AArch64Arith_Imm>;
269269
def AArch64urshri_p_node : SDNode<"AArch64ISD::URSHR_I_PRED", SDT_AArch64Arith_Imm>;
270270

271271
def AArch64urshri_p : PatFrags<(ops node:$op1, node:$op2, node:$op3),

0 commit comments

Comments
 (0)