mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 07:31:39 +00:00
Reorder some members in MCRegisterClass to remove padding on 64-bit builds.
llvm-svn: 151043
This commit is contained in:
parent
24cc28c7b8
commit
f1056941f6
@ -28,14 +28,14 @@ public:
|
||||
typedef const unsigned* iterator;
|
||||
typedef const unsigned* const_iterator;
|
||||
|
||||
unsigned ID;
|
||||
const unsigned ID;
|
||||
const char *Name;
|
||||
const unsigned RegSize, Alignment; // Size & Alignment of register in bytes
|
||||
const int CopyCost;
|
||||
const bool Allocatable;
|
||||
const iterator RegsBegin;
|
||||
unsigned RegsSize;
|
||||
const unsigned char *const RegSet;
|
||||
const unsigned RegsSize;
|
||||
const unsigned RegSetSize;
|
||||
|
||||
/// getID() - Return the register class ID number.
|
||||
|
@ -391,8 +391,8 @@ RegisterInfoEmitter::runMCDesc(raw_ostream &OS, CodeGenTarget &Target,
|
||||
<< RC.SpillAlignment/8 << ", "
|
||||
<< RC.CopyCost << ", "
|
||||
<< RC.Allocatable << ", "
|
||||
<< RC.getName() << ", " << RC.getOrder().size() << ", "
|
||||
<< RC.getName() << "Bits, sizeof(" << RC.getName() << "Bits) },\n";
|
||||
<< RC.getName() << ", " << RC.getName() << "Bits, "
|
||||
<< RC.getOrder().size() << ", sizeof(" << RC.getName() << "Bits) },\n";
|
||||
}
|
||||
|
||||
OS << "};\n\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user