[PATCH] D23530: Remove excessive padding from BarrierOp, PrefetchOp, PSBHintOp.

Alexander Shaposhnikov via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 15 20:57:30 PDT 2016


alexshap updated this revision to Diff 68128.
alexshap added a comment.

Address code review comment


https://reviews.llvm.org/D23530

Files:
  lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

Index: lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
===================================================================
--- lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@ -208,9 +208,9 @@
   };
 
   struct BarrierOp {
+    const char *Data; 
+    unsigned Length;
     unsigned Val; // Not the enum since not all values have names.
-    const char *Data;
-    unsigned Length;
   };
 
   struct SysRegOp {
@@ -226,15 +226,15 @@
   };
 
   struct PrefetchOp {
-    unsigned Val;
     const char *Data;
     unsigned Length;
+    unsigned Val;
   };
 
   struct PSBHintOp {
-    unsigned Val;
     const char *Data;
     unsigned Length;
+    unsigned Val;
   };
 
   struct ShiftExtendOp {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23530.68128.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160816/7b5bc0bc/attachment.bin>


More information about the cfe-commits mailing list