@@ -365,16 +365,6 @@ def PPCeh_sjlj_longjmp : SDNode<"PPCISD::EH_SJLJ_LONGJMP",
365
365
SDTypeProfile<0, 1, [SDTCisPtrTy<0>]>,
366
366
[SDNPHasChain, SDNPSideEffect]>;
367
367
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
-
378
368
def PPCvcmp : SDNode<"PPCISD::VCMP" , SDT_PPCvcmp, []>;
379
369
def PPCvcmp_rec : SDNode<"PPCISD::VCMP_rec", SDT_PPCvcmp, [SDNPOutGlue]>;
380
370
@@ -1673,7 +1663,7 @@ let isBranch = 1, isTerminator = 1, Size = 0 in {
1673
1663
// System call.
1674
1664
let PPC970_Unit = 7 in {
1675
1665
def SC : SCForm<17, 1, 0, (outs), (ins i32imm:$LEV),
1676
- "sc $LEV", IIC_BrB, [(PPCsc (i32 imm:$LEV)) ]>;
1666
+ "sc $LEV", IIC_BrB, []>;
1677
1667
}
1678
1668
1679
1669
// 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 {
1685
1675
}
1686
1676
1687
1677
// 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, []>,
1690
1679
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, []>,
1699
1683
PPC970_DGroup_First;
1700
1684
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, []>,
1703
1686
PPC970_DGroup_Single;
1704
1687
1705
1688
def : InstAlias<"rfebb", (RFEBB 1)>;
0 commit comments