AArch64: remove extraneous padding
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 18 Aug 2016 22:35:06 +0000 (22:35 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 18 Aug 2016 22:35:06 +0000 (22:35 +0000)
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

index 092e94c..23550d3 100644 (file)
@@ -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 {