Skip to content

Commit 7e6b150

Browse files
committed
[AArch64] Pass DebugLoc by reference to AArch64InstrInfo::copyGPRRegTuple. NFC
1 parent b12d338 commit 7e6b150

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4825,7 +4825,7 @@ void AArch64InstrInfo::copyPhysRegTuple(MachineBasicBlock &MBB,
48254825

48264826
void AArch64InstrInfo::copyGPRRegTuple(MachineBasicBlock &MBB,
48274827
MachineBasicBlock::iterator I,
4828-
DebugLoc DL, MCRegister DestReg,
4828+
const DebugLoc &DL, MCRegister DestReg,
48294829
MCRegister SrcReg, bool KillSrc,
48304830
unsigned Opcode, unsigned ZeroReg,
48314831
llvm::ArrayRef<unsigned> Indices) const {

llvm/lib/Target/AArch64/AArch64InstrInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ class AArch64InstrInfo final : public AArch64GenInstrInfo {
339339
MCRegister SrcReg, bool KillSrc, unsigned Opcode,
340340
llvm::ArrayRef<unsigned> Indices) const;
341341
void copyGPRRegTuple(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
342-
DebugLoc DL, MCRegister DestReg, MCRegister SrcReg,
342+
const DebugLoc &DL, MCRegister DestReg, MCRegister SrcReg,
343343
bool KillSrc, unsigned Opcode, unsigned ZeroReg,
344344
llvm::ArrayRef<unsigned> Indices) const;
345345
void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,

0 commit comments

Comments
 (0)