Skip to content

Commit 985e52a

Browse files
author
Kai Luo
committed
[PowerPC][NFC] Make getDefMIPostRA public
llvm-svn: 366995
1 parent f46e897 commit 985e52a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/PowerPC/PPCInstrInfo.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@ class PPCInstrInfo : public PPCGenInstrInfo {
140140
unsigned &OpNoForForwarding,
141141
bool &SeenIntermediateUse) const;
142142

143-
// In PostRA phase, try to find instruction defines \p Reg before \p MI.
144-
// \p SeenIntermediate is set to true if uses between DefMI and \p MI exist.
145-
MachineInstr *getDefMIPostRA(unsigned Reg, MachineInstr &MI,
146-
bool &SeenIntermediateUse) const;
147-
148143
// Can the user MI have it's source at index \p OpNoForForwarding
149144
// forwarded from an add-immediate that feeds it?
150145
bool isUseMIElgibleForForwarding(MachineInstr &MI, const ImmInstrInfo &III,
@@ -447,6 +442,11 @@ class PPCInstrInfo : public PPCGenInstrInfo {
447442
bool instrHasImmForm(unsigned Opc, bool IsVFReg, ImmInstrInfo &III,
448443
bool PostRA) const;
449444

445+
// In PostRA phase, try to find instruction defines \p Reg before \p MI.
446+
// \p SeenIntermediate is set to true if uses between DefMI and \p MI exist.
447+
MachineInstr *getDefMIPostRA(unsigned Reg, MachineInstr &MI,
448+
bool &SeenIntermediateUse) const;
449+
450450
/// getRegNumForOperand - some operands use different numbering schemes
451451
/// for the same registers. For example, a VSX instruction may have any of
452452
/// vs0-vs63 allocated whereas an Altivec instruction could only have

0 commit comments

Comments
 (0)