summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-06-26 21:19:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-06-26 21:19:07 +0000
commit2d345badeada3b4adbcde6a7ec0869e2a2c568cb (patch)
tree9334ecaac4b3ac682f7b0bd3a6ec4467650c3f3e
parent4bf87f1f44ee150ae1bbf349b404568aa996a87d (diff)
downloadbcm5719-llvm-2d345badeada3b4adbcde6a7ec0869e2a2c568cb.tar.gz
bcm5719-llvm-2d345badeada3b4adbcde6a7ec0869e2a2c568cb.zip
Add comment.
llvm-svn: 37741
-rw-r--r--llvm/include/llvm/Target/MRegisterInfo.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/include/llvm/Target/MRegisterInfo.h b/llvm/include/llvm/Target/MRegisterInfo.h
index d6d3fb4e500..ecfe1ec38a3 100644
--- a/llvm/include/llvm/Target/MRegisterInfo.h
+++ b/llvm/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
OpenPOWER on IntegriCloud