From aff18aee5632d8cb5ed7e299df4cb451bf12c834 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 6 Mar 2012 03:44:22 +0000 Subject: [PATCH] Increase number of allowed registers in register classes to 64k instead of 256. Widen register class ID to 16-bits. Widen register size and alignment to be up to 64k bytes instead of 256 bytes. This partially reverts r152019 to be less restrictive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152100 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCRegisterInfo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/llvm/MC/MCRegisterInfo.h b/include/llvm/MC/MCRegisterInfo.h index 4dbf1f3c0ad..1937fdca09d 100644 --- a/include/llvm/MC/MCRegisterInfo.h +++ b/include/llvm/MC/MCRegisterInfo.h @@ -31,10 +31,10 @@ public: const char *Name; const iterator RegsBegin; const uint8_t *const RegSet; - const uint8_t RegsSize; - const uint8_t RegSetSize; - const uint8_t ID; - const uint8_t RegSize, Alignment; // Size & Alignment of register in bytes + const uint16_t RegsSize; + const uint16_t RegSetSize; + const uint16_t ID; + const uint16_t RegSize, Alignment; // Size & Alignment of register in bytes const int8_t CopyCost; const bool Allocatable; -- 2.34.1