Skip to content

Commit

Permalink
elide type and colon if no operands (and no types)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzSiFive committed Jan 14, 2025
1 parent c5ebbb3 commit 5afc03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/circt/Dialect/FIRRTL/FIRRTLIntrinsics.td
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def ViewIntrinsicOp : FIRRTLOp<"view", []> {
is only lowered to one.
}];
let arguments = (ins StrAttr:$name, AugmentedBundleType:$augmentedType, Variadic<FIRRTLBaseType>:$inputs);
let assemblyFormat = "$name `,` $augmentedType (`,` $inputs^)? attr-dict `:` type($inputs)";
let assemblyFormat = "$name `,` $augmentedType (`,` $inputs^)? attr-dict (`:` type($inputs)^)?";
}

#endif // CIRCT_DIALECT_FIRRTL_FIRRTLINTRINSICS_TD

0 comments on commit 5afc03a

Please sign in to comment.