diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-06-26 21:19:07 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-06-26 21:19:07 +0000 |
commit | c33aa471300ceaa34870c6ca4973da916dbbfe3a (patch) | |
tree | e01b65b8b8465d80043924c3ed1df53a34171a89 /include/llvm/Target/MRegisterInfo.h | |
parent | 7ac19afbb14dcaabad98a428541b61391a62626e (diff) | |
download | external_llvm-c33aa471300ceaa34870c6ca4973da916dbbfe3a.zip external_llvm-c33aa471300ceaa34870c6ca4973da916dbbfe3a.tar.gz external_llvm-c33aa471300ceaa34870c6ca4973da916dbbfe3a.tar.bz2 |
Add comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37741 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/MRegisterInfo.h')
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index d6d3fb4..ecfe1ec 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -40,9 +40,11 @@ class Type; /// Registers that this does not apply to simply should set this to null. /// The SubRegs field is a zero terminated array of registers that are /// sub-registers of the specific register, e.g. AL, AH are sub-registers of AX. -/// The SuperRegs field is a zero terminated array of registers that are -/// super-registers of the specific register, e.g. RAX, EAX, are super-registers -/// of AX. +/// The ImmsubRegs field is a subset of SubRegs. It includes only the immediate +/// sub-registers. e.g. EAX has only one immediate sub-register of AX, not AH, +/// AL which are immediate sub-registers of AX. The SuperRegs field is a zero +/// terminated array of registers that are super-registers of the specific +/// register, e.g. RAX, EAX, are super-registers of AX. /// struct TargetRegisterDesc { const char *Name; // Assembly language name for the register |