diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-12-19 16:53:34 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-12-19 16:53:34 +0000 |
| commit | c7b437ae34c5c8c4a2d9054c1b64e5f4c8ea4bdf (patch) | |
| tree | 69fb374666751ccc8178a4dd1a0f53d3f417387a /llvm/lib/Target/MSP430/MSP430RegisterInfo.h | |
| parent | b92f557c4066e78d54eadca8bf1b8d304ce79c16 (diff) | |
| download | bcm5719-llvm-c7b437ae34c5c8c4a2d9054c1b64e5f4c8ea4bdf.tar.gz bcm5719-llvm-c7b437ae34c5c8c4a2d9054c1b64e5f4c8ea4bdf.zip | |
Emit a getMatchingSuperRegClass() implementation for every target.
Use information computed while inferring new register classes to emit
accurate, table-driven implementations of getMatchingSuperRegClass().
Delete the old manual, error-prone implementations in the targets.
llvm-svn: 146873
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430RegisterInfo.h')
| -rw-r--r-- | llvm/lib/Target/MSP430/MSP430RegisterInfo.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430RegisterInfo.h b/llvm/lib/Target/MSP430/MSP430RegisterInfo.h index 10a3d532063..06fa4901225 100644 --- a/llvm/lib/Target/MSP430/MSP430RegisterInfo.h +++ b/llvm/lib/Target/MSP430/MSP430RegisterInfo.h @@ -41,13 +41,6 @@ public: BitVector getReservedRegs(const MachineFunction &MF) const; const TargetRegisterClass* getPointerRegClass(unsigned Kind = 0) const; - const TargetRegisterClass * - getMatchingSuperRegClass(const TargetRegisterClass *A, - const TargetRegisterClass *B, unsigned Idx) const { - // No sub-classes makes this really easy. - return A; - } - void eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const; |

