diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-10-26 20:38:19 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-10-26 20:38:19 +0000 |
commit | f4a5a613faa1a0eca6b884a6dfe83e8b1eb957b2 (patch) | |
tree | 0469cc4949de88c6550c45ef38c74cc7138cf035 /include/llvm | |
parent | b8b3f6081f8dc409e7281e1597d8d94e50e4b028 (diff) | |
download | external_llvm-f4a5a613faa1a0eca6b884a6dfe83e8b1eb957b2.zip external_llvm-f4a5a613faa1a0eca6b884a6dfe83e8b1eb957b2.tar.gz external_llvm-f4a5a613faa1a0eca6b884a6dfe83e8b1eb957b2.tar.bz2 |
Remove the canCombineSubRegIndices() target hook.
The new coalescer can already do all of this, so there is no need to
duplicate the efforts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Target/TargetRegisterInfo.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h index 942ee44..0ccf9f4 100644 --- a/include/llvm/Target/TargetRegisterInfo.h +++ b/include/llvm/Target/TargetRegisterInfo.h @@ -446,18 +446,6 @@ public: return MCRegisterInfo::getMatchingSuperReg(Reg, SubIdx, RC->MC); } - /// canCombineSubRegIndices - Given a register class and a list of - /// subregister indices, return true if it's possible to combine the - /// subregister indices into one that corresponds to a larger - /// subregister. Return the new subregister index by reference. Note the - /// new index may be zero if the given subregisters can be combined to - /// form the whole register. - virtual bool canCombineSubRegIndices(const TargetRegisterClass *RC, - SmallVectorImpl<unsigned> &SubIndices, - unsigned &NewSubIdx) const { - return 0; - } - /// getMatchingSuperRegClass - Return a subclass of the specified register /// class A so that each register in it has a sub-register of the /// specified sub-register index which is in the specified register class B. |