diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-10-06 00:08:27 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-10-06 00:08:27 +0000 |
commit | d9c1fa5205cc31474f9f9a6d715af32098a1a719 (patch) | |
tree | 0c0fa88453f6f6a245a0738a41e51164dae98fa6 /include/llvm-c/Initialization.h | |
parent | 8f8aa815b46143e2e84a62dadf6f57daf25a4e24 (diff) |
Remove the TRI::getSubRegisterRegClass() hook.
This restores my karma after I added TRI::getSubClassWithSubReg().
Register constraints are applied 'backwards'. Starting from the
register class required by an instruction operand, the correct question
is: 'How can I constrain the super-register register class so all its
sub-registers satisfy the instruction constraint?' The
getMatchingSuperRegClass() hook answers that.
We never need to go 'forwards': Starting from a super-register register
class, what register class are the sub-registers in? The
getSubRegisterRegClass() hook did that.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Initialization.h')
0 files changed, 0 insertions, 0 deletions