Skip to content

Commit

Permalink
[gccjit] restrict initializer field of GlobalOp
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingerZhu committed Oct 22, 2024
1 parent 8bce6ea commit 4699153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mlir-gccjit/IR/GCCJITOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def GlobalOp : GCCJIT_Op<"global_var"> {
OptionalAttr<TLSModelAttr>:$tls_model,
OptionalAttr<LinkSectionAttr>:$link_section,
OptionalAttr<VisibilityAttr>:$visibility,
OptionalAttr<AnyAttr>:$initializer
OptionalAttr<AnyAttrOf<[StringInitializerAttr, ByteArrayInitializerAttr]>>:$initializer
);
let results = (outs GCCJIT_LValueType:$var);
let regions = (region AnyRegion:$body);
Expand Down

0 comments on commit 4699153

Please sign in to comment.