diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-03-20 08:09:38 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-03-20 08:09:38 +0000 |
commit | bf2c8b3c96f5c885095a10b0fcb29438f92d73c2 (patch) | |
tree | e29fe6ae443de3ff4bc386753587aa3654a67ba8 /lib/Target/PowerPC/PPCRegisterInfo.h | |
parent | a16b7cb1d3a482a28bc8f73433f0034d8d8673d7 (diff) | |
download | llvm-bf2c8b3c96f5c885095a10b0fcb29438f92d73c2.tar.gz llvm-bf2c8b3c96f5c885095a10b0fcb29438f92d73c2.tar.bz2 llvm-bf2c8b3c96f5c885095a10b0fcb29438f92d73c2.tar.xz |
Added MRegisterInfo hook to re-materialize an instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.h')
-rw-r--r-- | lib/Target/PowerPC/PPCRegisterInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.h b/lib/Target/PowerPC/PPCRegisterInfo.h index e23ab336f0..d8e8025091 100644 --- a/lib/Target/PowerPC/PPCRegisterInfo.h +++ b/lib/Target/PowerPC/PPCRegisterInfo.h @@ -49,6 +49,9 @@ public: unsigned DestReg, unsigned SrcReg, const TargetRegisterClass *RC) const; + void reMaterialize(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, + unsigned DestReg, const MachineInstr *Orig) const; + /// foldMemoryOperand - PowerPC (like most RISC's) can only fold spills into /// copy instructions, turning them into load/store instructions. virtual MachineInstr* foldMemoryOperand(MachineInstr* MI, unsigned OpNum, |