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 /include/llvm | |
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 'include/llvm')
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index dab5d20..14ed694 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -506,7 +506,8 @@ public: virtual void copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned DestReg, unsigned SrcReg, - const TargetRegisterClass *RC) const = 0; + const TargetRegisterClass *DestRC, + const TargetRegisterClass *SrcRC) const = 0; /// reMaterialize - Re-issue the specified 'original' instruction at the /// specific location targeting a new destination register. |