AMDGPU: Remove excessive padding from ImmOp and RegOp.

The structs ImmOp and RegOp are in AArch64AsmParser.cpp (inside
anonymous namespace).
This diff changes the order of fields and removes the excessive padding
(8 bytes).

Patch by Alexander Shaposhnikov

llvm-svn: 278844
This commit is contained in:
Matt Arsenault 2016-08-16 20:28:06 +00:00
parent 43231bc19b
commit 7f19298bfa
1 changed files with 4 additions and 4 deletions

View File

@ -136,18 +136,18 @@ public:
}; };
struct ImmOp { struct ImmOp {
bool IsFPImm;
ImmTy Type;
int64_t Val; int64_t Val;
ImmTy Type;
bool IsFPImm;
Modifiers Mods; Modifiers Mods;
}; };
struct RegOp { struct RegOp {
unsigned RegNo;
Modifiers Mods;
const MCRegisterInfo *TRI; const MCRegisterInfo *TRI;
const MCSubtargetInfo *STI; const MCSubtargetInfo *STI;
unsigned RegNo;
bool IsForcedVOP3; bool IsForcedVOP3;
Modifiers Mods;
}; };
union { union {