aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Mips/Mips16InstrInfo.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-09-14 03:21:56 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-09-14 03:21:56 +0000
commit99258f6755a253a8b864f63dcbe9d8cbfa09f560 (patch)
tree0fbfb2ad222f7b3fb2158f48e0c14715d9d0d89e /lib/Target/Mips/Mips16InstrInfo.cpp
parente30ba2ebcfe36fe0853f8398f442b407ba0dc029 (diff)
mips16 fixes.
1. Add MoveR3216 2. Correct spelling for Move32R16 Patch by Reed Kotler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163869 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips16InstrInfo.cpp')
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/Mips16InstrInfo.cpp b/lib/Target/Mips/Mips16InstrInfo.cpp
index ec84ad81f5..9248032340 100644
--- a/lib/Target/Mips/Mips16InstrInfo.cpp
+++ b/lib/Target/Mips/Mips16InstrInfo.cpp
@@ -62,7 +62,7 @@ void Mips16InstrInfo::copyPhysReg(MachineBasicBlock &MBB,
if (Mips::CPURegsRegClass.contains(DestReg)) { // Copy to CPU Reg.
if (Mips::CPURegsRegClass.contains(SrcReg))
- Opc = Mips::Mov32R16;
+ Opc = Mips::Move32R16;
}
assert(Opc && "Cannot copy registers");