[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h
Evan Cheng
evan.cheng at apple.com
Tue Jun 26 14:19:30 PDT 2007
Changes in directory llvm/include/llvm/Target:
MRegisterInfo.h updated: 1.112 -> 1.113
---
Log message:
Add comment.
---
Diffs of the changes: (+5 -3)
MRegisterInfo.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.112 llvm/include/llvm/Target/MRegisterInfo.h:1.113
--- llvm/include/llvm/Target/MRegisterInfo.h:1.112 Tue Jun 26 15:59:16 2007
+++ llvm/include/llvm/Target/MRegisterInfo.h Tue Jun 26 16:19:07 2007
@@ -40,9 +40,11 @@
/// 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
More information about the llvm-commits
mailing list