forked from OSchip/llvm-project
Remove unused function from AArch64 backend (NFC)
llvm-svn: 309336
This commit is contained in:
parent
b75d002f15
commit
8f4b353ee1
|
@ -2083,18 +2083,6 @@ bool AArch64InstrInfo::shouldClusterMemOps(MachineInstr &FirstLdSt,
|
|||
return Offset1 + 1 == Offset2;
|
||||
}
|
||||
|
||||
MachineInstr *AArch64InstrInfo::emitFrameIndexDebugValue(
|
||||
MachineFunction &MF, int FrameIx, uint64_t Offset, const MDNode *Var,
|
||||
const MDNode *Expr, const DebugLoc &DL) const {
|
||||
MachineInstrBuilder MIB = BuildMI(MF, DL, get(AArch64::DBG_VALUE))
|
||||
.addFrameIndex(FrameIx)
|
||||
.addImm(0)
|
||||
.addImm(Offset)
|
||||
.addMetadata(Var)
|
||||
.addMetadata(Expr);
|
||||
return &*MIB;
|
||||
}
|
||||
|
||||
static const MachineInstrBuilder &AddSubReg(const MachineInstrBuilder &MIB,
|
||||
unsigned Reg, unsigned SubIdx,
|
||||
unsigned State,
|
||||
|
|
|
@ -194,10 +194,6 @@ public:
|
|||
bool shouldClusterMemOps(MachineInstr &FirstLdSt, MachineInstr &SecondLdSt,
|
||||
unsigned NumLoads) const override;
|
||||
|
||||
MachineInstr *emitFrameIndexDebugValue(MachineFunction &MF, int FrameIx,
|
||||
uint64_t Offset, const MDNode *Var,
|
||||
const MDNode *Expr,
|
||||
const DebugLoc &DL) const;
|
||||
void copyPhysRegTuple(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
|
||||
const DebugLoc &DL, unsigned DestReg, unsigned SrcReg,
|
||||
bool KillSrc, unsigned Opcode,
|
||||
|
|
Loading…
Reference in New Issue