@@ -365,16 +365,6 @@ def PPCeh_sjlj_longjmp : SDNode<"PPCISD::EH_SJLJ_LONGJMP",
365365 SDTypeProfile<0, 1, [SDTCisPtrTy<0>]>,
366366 [SDNPHasChain, SDNPSideEffect]>;
367367
368- def SDT_PPCsc : SDTypeProfile<0, 1, [SDTCisInt<0>]>;
369- def PPCsc : SDNode<"PPCISD::SC", SDT_PPCsc,
370- [SDNPHasChain, SDNPSideEffect]>;
371-
372- def PPCclrbhrb : SDNode<"PPCISD::CLRBHRB", SDTNone,
373- [SDNPHasChain, SDNPSideEffect]>;
374- def PPCmfbhrbe : SDNode<"PPCISD::MFBHRBE", SDTIntBinOp, [SDNPHasChain]>;
375- def PPCrfebb : SDNode<"PPCISD::RFEBB", SDT_PPCsc,
376- [SDNPHasChain, SDNPSideEffect]>;
377-
378368def PPCvcmp : SDNode<"PPCISD::VCMP" , SDT_PPCvcmp, []>;
379369def PPCvcmp_rec : SDNode<"PPCISD::VCMP_rec", SDT_PPCvcmp, [SDNPOutGlue]>;
380370
@@ -1673,7 +1663,7 @@ let isBranch = 1, isTerminator = 1, Size = 0 in {
16731663// System call.
16741664let PPC970_Unit = 7 in {
16751665 def SC : SCForm<17, 1, 0, (outs), (ins i32imm:$LEV),
1676- "sc $LEV", IIC_BrB, [(PPCsc (i32 imm:$LEV)) ]>;
1666+ "sc $LEV", IIC_BrB, []>;
16771667}
16781668
16791669// We mark SCV as having no scheduling model since it is only meant to be used
@@ -1685,21 +1675,14 @@ let Predicates = [IsISA3_0], hasNoSchedulingInfo = 1 in {
16851675}
16861676
16871677// Branch history rolling buffer.
1688- def CLRBHRB : XForm_0<31, 430, (outs), (ins), "clrbhrb", IIC_BrB,
1689- [(PPCclrbhrb)]>,
1678+ def CLRBHRB : XForm_0<31, 430, (outs), (ins), "clrbhrb", IIC_BrB, []>,
16901679 PPC970_DGroup_Single;
1691- // The $dmy argument used for MFBHRBE is not needed; however, including
1692- // it avoids automatic generation of PPCFastISel::fastEmit_i(), which
1693- // interferes with necessary special handling (see PPCFastISel.cpp).
1694- def MFBHRBE : XFXForm_3p<31, 302, (outs gprc:$RT),
1695- (ins u10imm:$imm, u10imm:$dmy),
1696- "mfbhrbe $RT, $imm", IIC_BrB,
1697- [(set i32:$RT,
1698- (PPCmfbhrbe imm:$imm, imm:$dmy))]>,
1680+
1681+ def MFBHRBE : XFXForm_3p<31, 302, (outs gprc:$RT), (ins u10imm:$imm),
1682+ "mfbhrbe $RT, $imm", IIC_BrB, []>,
16991683 PPC970_DGroup_First;
17001684
1701- def RFEBB : XLForm_S<19, 146, (outs), (ins u1imm:$S), "rfebb $S",
1702- IIC_BrB, [(PPCrfebb (i32 imm:$S))]>,
1685+ def RFEBB : XLForm_S<19, 146, (outs), (ins u1imm:$S), "rfebb $S", IIC_BrB, []>,
17031686 PPC970_DGroup_Single;
17041687
17051688def : InstAlias<"rfebb", (RFEBB 1)>;
0 commit comments