aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-03-06 03:44:22 +0000
committerCraig Topper <craig.topper@gmail.com>2012-03-06 03:44:22 +0000
commitaff18aee5632d8cb5ed7e299df4cb451bf12c834 (patch)
tree35034fb299529019185f935396d8ff7696eb3199 /include/llvm/MC
parent696f5ab12ef4beea368c5343ed1db443e9a7fead (diff)
downloadexternal_llvm-aff18aee5632d8cb5ed7e299df4cb451bf12c834.zip
external_llvm-aff18aee5632d8cb5ed7e299df4cb451bf12c834.tar.gz
external_llvm-aff18aee5632d8cb5ed7e299df4cb451bf12c834.tar.bz2
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
Diffstat (limited to 'include/llvm/MC')
-rw-r--r--include/llvm/MC/MCRegisterInfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/MC/MCRegisterInfo.h b/include/llvm/MC/MCRegisterInfo.h
index 4dbf1f3..1937fdc 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;