================
@@ -4610,32 +4632,41 @@ def CIR_ArrayCtor : CIR_Op<"array.ctor"> {
Optional<CIR_AnyIntType>:$num_elements
);
- let regions = (region SizedRegion<1>:$body);
- let assemblyFormat = [{
- $addr (`,` $num_elements^)? `:` qualified(type($addr))
- (`,` type($num_elements)^)? $body attr-dict
- }];
+ let regions = (region SizedRegion<1>:$body, AnyRegion:$partial_dtor);
+ let hasCustomAssemblyFormat = 1;
----------------
andykaylor wrote:
I wasn't sure about this. I'd be happy to simplify it if I can. I'll try your
suggestion.
https://github.com/llvm/llvm-project/pull/190834
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits