Skip to content

Commit 9a19790

Browse files
committed
address comments
1 parent aef2733 commit 9a19790

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/lib/Target/PowerPC/PPCISelLowering.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11307,8 +11307,7 @@ SDValue PPCTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op,
1130711307
}
1130811308
SDValue TF = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Chains);
1130911309
SDValue Value = DMFInsert1024(Pairs, SDLoc(Op), DAG);
11310-
SDValue RetOps[] = {Value, TF};
11311-
return DAG.getMergeValues(RetOps, dl);
11310+
return DAG.getMergeValues({Value, TF}, dl);
1131211311
}
1131311312

1131411313
case Intrinsic::ppc_mma_dmxxextfdmr512: {
@@ -12152,9 +12151,9 @@ SDValue PPCTargetLowering::DMFInsert1024(const SmallVectorImpl<SDValue> &Pairs,
1215212151
0);
1215312152
SDValue HiSub = DAG.getTargetConstant(PPC::sub_wacc_hi, dl, MVT::i32);
1215412153
SDValue RC = DAG.getTargetConstant(PPC::DMRRCRegClassID, dl, MVT::i32);
12155-
const SDValue Ops[] = {RC, Lo, LoSub, Hi, HiSub};
1215612154

12157-
return SDValue(DAG.getMachineNode(PPC::REG_SEQUENCE, dl, MVT::v1024i1, Ops),
12155+
return SDValue(DAG.getMachineNode(PPC::REG_SEQUENCE, dl, MVT::v1024i1,
12156+
{RC, Lo, LoSub, Hi, HiSub}),
1215812157
0);
1215912158
}
1216012159

0 commit comments

Comments
 (0)