forked from OSchip/llvm-project
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:
parent
43231bc19b
commit
7f19298bfa
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue