1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

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 9bc82c817c
commit 0ab6330a80

View File

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