diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-09-26 06:25:56 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-09-26 06:25:56 +0000 |
commit | 9efce638d307b2c71bd7f0258d47501661434c27 (patch) | |
tree | ff8e23600c1a2e9ba48a6010a2ec8a84c84f785b /lib/Target/ARM/ARMRegisterInfo.h | |
parent | 61001b8bd47adcf413dbb5b2a8c95cf22ec4bf7a (diff) | |
download | external_llvm-9efce638d307b2c71bd7f0258d47501661434c27.zip external_llvm-9efce638d307b2c71bd7f0258d47501661434c27.tar.gz external_llvm-9efce638d307b2c71bd7f0258d47501661434c27.tar.bz2 |
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/ARM/ARMRegisterInfo.h')
-rw-r--r-- | lib/Target/ARM/ARMRegisterInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMRegisterInfo.h b/lib/Target/ARM/ARMRegisterInfo.h index 614eaec..7a2fd2c 100644 --- a/lib/Target/ARM/ARMRegisterInfo.h +++ b/lib/Target/ARM/ARMRegisterInfo.h @@ -58,7 +58,8 @@ public: void copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned DestReg, unsigned SrcReg, - const TargetRegisterClass *RC) const; + const TargetRegisterClass *DestRC, + const TargetRegisterClass *SrcRC) const; void reMaterialize(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned DestReg, const MachineInstr *Orig) const; |