Skip to content

Commit d97cdd7

Browse files
author
Kai Luo
authored
[PowerPC] Add PPC prefix to retglue ISD node. NFC. (#89771)
So that aligned with other targets.
1 parent dc5939d commit d97cdd7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/lib/Target/PowerPC/PPCInstr64Bit.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ let Interpretation64Bit = 1, isCodeGenOnly = 1 in {
7676
let isTerminator = 1, isBarrier = 1, PPC970_Unit = 7, hasSideEffects = 0 in {
7777
let isReturn = 1, isPredicable = 1, Uses = [LR8, RM] in
7878
def BLR8 : XLForm_2_ext<19, 16, 20, 0, 0, (outs), (ins), "blr", IIC_BrB,
79-
[(retglue)]>, Requires<[In64BitMode]>;
79+
[(PPCretglue)]>, Requires<[In64BitMode]>;
8080
let isBranch = 1, isIndirectBranch = 1, Uses = [CTR8] in {
8181
let isPredicable = 1 in
8282
def BCTR8 : XLForm_2_ext<19, 528, 20, 0, 0, (outs), (ins), "bctr", IIC_BrB,

llvm/lib/Target/PowerPC/PPCInstrInfo.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def PPCbctrl_load_toc_rm : SDNode<"PPCISD::BCTRL_LOAD_TOC_RM",
336336
[SDNPHasChain, SDNPOptInGlue, SDNPOutGlue,
337337
SDNPVariadic]>;
338338

339-
def retglue : SDNode<"PPCISD::RET_GLUE", SDTNone,
339+
def PPCretglue : SDNode<"PPCISD::RET_GLUE", SDTNone,
340340
[SDNPHasChain, SDNPOptInGlue, SDNPVariadic]>;
341341

342342
def PPCtc_return : SDNode<"PPCISD::TC_RETURN", SDT_PPCTC_ret,
@@ -1299,7 +1299,7 @@ def RESTORE_CRBIT : PPCEmitTimePseudo<(outs crbitrc:$cond), (ins memri:$F),
12991299
let isTerminator = 1, isBarrier = 1, PPC970_Unit = 7, hasSideEffects = 0 in {
13001300
let isPredicable = 1, isReturn = 1, Uses = [LR, RM] in
13011301
def BLR : XLForm_2_ext<19, 16, 20, 0, 0, (outs), (ins), "blr", IIC_BrB,
1302-
[(retglue)]>, Requires<[In32BitMode]>;
1302+
[(PPCretglue)]>, Requires<[In32BitMode]>;
13031303
let isBranch = 1, isIndirectBranch = 1, Uses = [CTR] in {
13041304
let isPredicable = 1 in
13051305
def BCTR : XLForm_2_ext<19, 528, 20, 0, 0, (outs), (ins), "bctr", IIC_BrB,

0 commit comments

Comments
 (0)