From dab786fb789b156d863104c800f1bdb9077feee3 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 18 Aug 2016 22:35:06 +0000 Subject: [PATCH] AArch64: remove extraneous padding The structs BarrierOp, PrefetchOp, PSBHintOp 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: 279173 --- llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp index 092e94c..23550d3 100644 --- a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp +++ b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp @@ -208,9 +208,9 @@ private: }; struct BarrierOp { - unsigned Val; // Not the enum since not all values have names. const char *Data; unsigned Length; + unsigned Val; // Not the enum since not all values have names. }; struct SysRegOp { @@ -226,15 +226,15 @@ private: }; struct PrefetchOp { - unsigned Val; const char *Data; unsigned Length; + unsigned Val; }; struct PSBHintOp { - unsigned Val; const char *Data; unsigned Length; + unsigned Val; }; struct ShiftExtendOp { -- 2.7.4