Add comment.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 26 Jun 2007 21:19:07 +0000 (21:19 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 26 Jun 2007 21:19:07 +0000 (21:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37741 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/MRegisterInfo.h

index d6d3fb4e50071c4b2c018605de2a51370d161206..ecfe1ec38a33bc4628755880019f3db8eaf91cc7 100644 (file)
@@ -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