================
@@ -164,14 +191,18 @@ def CIR_RecordLayoutAttr : CIR_Attr<"RecordLayout", 
"record_layout", [
   let parameters = (ins
     EnumParameter<CIR_ArgPassingKind>:$arg_passing_kind,
     "bool":$has_trivial_dtor,
-    "uint64_t":$record_align
+    "uint64_t":$record_align,
+    OptionalParameter<"mlir::DenseI64ArrayAttr">:$zero_width_bitfield_offsets,
----------------
erichkeane wrote:

Since these are required to be the same size, and are effectively 'pairs', we 
should store `zero_width_bitfields` as a collection of some sort of pair type.

That said, why does zero_WIDTH_bitfields need a width?  What are we actually 
storing here? 

https://github.com/llvm/llvm-project/pull/217517
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to