summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-11-11 13:54:21 +0530
committerMatt Arsenault <arsenm2@gmail.com>2019-11-11 14:42:33 +0530
commite6c9a9af398baf40537d45498e0aaf417c1306dc (patch)
treeac5edc00a9ea9491555e3bd37ed9041e751a638b /llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
parenta26d7b629823bfb502d65e10c75e78754c5970d2 (diff)
downloadbcm5719-llvm-e6c9a9af398baf40537d45498e0aaf417c1306dc.tar.gz
bcm5719-llvm-e6c9a9af398baf40537d45498e0aaf417c1306dc.zip
Use MCRegister in copyPhysReg
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSEInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/Mips/MipsSEInstrInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp b/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
index 30b8e22dd5f..d4f09a2f358 100644
--- a/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
+++ b/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
@@ -82,8 +82,8 @@ unsigned MipsSEInstrInfo::isStoreToStackSlot(const MachineInstr &MI,
void MipsSEInstrInfo::copyPhysReg(MachineBasicBlock &MBB,
MachineBasicBlock::iterator I,
- const DebugLoc &DL, unsigned DestReg,
- unsigned SrcReg, bool KillSrc) const {
+ const DebugLoc &DL, MCRegister DestReg,
+ MCRegister SrcReg, bool KillSrc) const {
unsigned Opc = 0, ZeroReg = 0;
bool isMicroMips = Subtarget.inMicroMipsMode();
OpenPOWER on IntegriCloud