[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h
Evan Cheng
evan.cheng at apple.com
Fri Apr 20 14:11:40 PDT 2007
Changes in directory llvm/include/llvm/Target:
MRegisterInfo.h updated: 1.103 -> 1.104
---
Log message:
Add sub-register sets.
---
Diffs of the changes: (+3 -0)
MRegisterInfo.h | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.103 llvm/include/llvm/Target/MRegisterInfo.h:1.104
--- llvm/include/llvm/Target/MRegisterInfo.h:1.103 Tue Apr 17 15:23:34 2007
+++ llvm/include/llvm/Target/MRegisterInfo.h Fri Apr 20 16:11:22 2007
@@ -38,10 +38,13 @@
/// to a Zero terminated array of registers that this register aliases. This is
/// needed for architectures like X86 which have AL alias AX alias EAX.
/// 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.
///
struct TargetRegisterDesc {
const char *Name; // Assembly language name for the register
const unsigned *AliasSet; // Register Alias Set, described above
+ const unsigned *SubRegs; // Sub-register set, described above
};
class TargetRegisterClass {
More information about the llvm-commits
mailing list