summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsRegisterInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-09-26 06:25:56 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-09-26 06:25:56 +0000
commit9efce638d307b2c71bd7f0258d47501661434c27 (patch)
treeff8e23600c1a2e9ba48a6010a2ec8a84c84f785b /lib/Target/Mips/MipsRegisterInfo.h
parent61001b8bd47adcf413dbb5b2a8c95cf22ec4bf7a (diff)
downloadllvm-9efce638d307b2c71bd7f0258d47501661434c27.tar.gz
llvm-9efce638d307b2c71bd7f0258d47501661434c27.tar.bz2
llvm-9efce638d307b2c71bd7f0258d47501661434c27.tar.xz
Allow copyRegToReg to emit cross register classes copies.
Tested with "make check"! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsRegisterInfo.h')
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsRegisterInfo.h b/lib/Target/Mips/MipsRegisterInfo.h
index 2727910972..b992e2e16d 100644
--- a/lib/Target/Mips/MipsRegisterInfo.h
+++ b/lib/Target/Mips/MipsRegisterInfo.h
@@ -55,7 +55,8 @@ struct MipsRegisterInfo : public MipsGenRegisterInfo {
void copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
unsigned DestReg, unsigned SrcReg,
- const TargetRegisterClass *RC) const;
+ const TargetRegisterClass *DestRC,
+ const TargetRegisterClass *SrcRC) const;
const unsigned *getCalleeSavedRegs(const MachineFunction* MF = 0) const;