[llvm-commits] [llvm] r152100 - /llvm/trunk/include/llvm/MC/MCRegisterInfo.h

Craig Topper craig.topper at gmail.com
Mon Mar 5 19:44:22 PST 2012


Author: ctopper
Date: Mon Mar  5 21:44:22 2012
New Revision: 152100

URL: http://llvm.org/viewvc/llvm-project?rev=152100&view=rev
Log:
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.

Modified:
    llvm/trunk/include/llvm/MC/MCRegisterInfo.h

Modified: llvm/trunk/include/llvm/MC/MCRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCRegisterInfo.h?rev=152100&r1=152099&r2=152100&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCRegisterInfo.h (original)
+++ llvm/trunk/include/llvm/MC/MCRegisterInfo.h Mon Mar  5 21:44:22 2012
@@ -31,10 +31,10 @@
   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;
 





More information about the llvm-commits mailing list