diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-25 06:19:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-25 06:19:04 +0000 |
commit | 1d6dc974631a8920a4e5a801a6c7cd4753ae8a8e (patch) | |
tree | 8e1c0ce488b576b328feeb0df94bd7fae3aeca48 /lib/Target/Sparc/SparcInstrInfo.h | |
parent | 89756ea10980cac3b8017afa41608957ad1bfc81 (diff) | |
download | llvm-1d6dc974631a8920a4e5a801a6c7cd4753ae8a8e.tar.gz llvm-1d6dc974631a8920a4e5a801a6c7cd4753ae8a8e.tar.bz2 llvm-1d6dc974631a8920a4e5a801a6c7cd4753ae8a8e.tar.xz |
I think that V8 should coallesce registers, don't you?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcInstrInfo.h')
-rw-r--r-- | lib/Target/Sparc/SparcInstrInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.h b/lib/Target/Sparc/SparcInstrInfo.h index 52cd7c7f8d..9c7838dfdd 100644 --- a/lib/Target/Sparc/SparcInstrInfo.h +++ b/lib/Target/Sparc/SparcInstrInfo.h @@ -41,6 +41,12 @@ public: /// always be able to get register info as well (through this method). /// virtual const MRegisterInfo &getRegisterInfo() const { return RI; } + + /// Return true if the instruction is a register to register move and + /// leave the source and dest operands in the passed parameters. + /// + virtual bool isMoveInstr(const MachineInstr &MI, + unsigned &SrcReg, unsigned &DstReg) const; }; } |