diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-10-18 22:40:57 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-10-18 22:40:57 +0000 |
commit | 463e2ab0ac7de966ba1b2289efa6b92d4509cd7b (patch) | |
tree | 1dd6d3acac71171ab947d2aba2c56be720d3bce8 /llvm/lib/Target/Sparc/SparcRegisterInfo.h | |
parent | eee59ebb15a4421c99ab262ca52e081cb28846df (diff) | |
download | bcm5719-llvm-463e2ab0ac7de966ba1b2289efa6b92d4509cd7b.tar.gz bcm5719-llvm-463e2ab0ac7de966ba1b2289efa6b92d4509cd7b.zip |
- Added getOpcodeAfterMemoryUnfold(). It doesn't unfold an instruction, but only returns the opcode of the instruction post unfolding.
- Fix some copy+paste bugs.
llvm-svn: 43153
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcRegisterInfo.h')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcRegisterInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/SparcRegisterInfo.h b/llvm/lib/Target/Sparc/SparcRegisterInfo.h index 15a624f2634..01399100724 100644 --- a/llvm/lib/Target/Sparc/SparcRegisterInfo.h +++ b/llvm/lib/Target/Sparc/SparcRegisterInfo.h @@ -36,7 +36,7 @@ struct SparcRegisterInfo : public SparcGenRegisterInfo { const TargetRegisterClass *RC) const; void storeRegToAddr(MachineFunction &MF, unsigned SrcReg, - SmallVectorImpl<MachineOperand> Addr, + SmallVectorImpl<MachineOperand> &Addr, const TargetRegisterClass *RC, SmallVectorImpl<MachineInstr*> &NewMIs) const; @@ -46,7 +46,7 @@ struct SparcRegisterInfo : public SparcGenRegisterInfo { const TargetRegisterClass *RC) const; void loadRegFromAddr(MachineFunction &MF, unsigned DestReg, - SmallVectorImpl<MachineOperand> Addr, + SmallVectorImpl<MachineOperand> &Addr, const TargetRegisterClass *RC, SmallVectorImpl<MachineInstr*> &NewMIs) const; |