Skip to content

Commit de80c36

Browse files
authored
[mlir][emitc] Adjust the emitc.class op description (NFC) (#152570)
1 parent 8d8bd0a commit de80c36

File tree

1 file changed

+1
-3
lines changed
  • mlir/include/mlir/Dialect/EmitC/IR

1 file changed

+1
-3
lines changed

mlir/include/mlir/Dialect/EmitC/IR/EmitC.td

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@ def EmitC_ClassOp
16451645
return
16461646
}
16471647
}
1648-
// Class with a final speciferAdd commentMore actions
1648+
// Class with a final specifer
16491649
emitc.class final @modelClass {
16501650
emitc.field @fieldName0 : !emitc.array<1xf32> = {emitc.opaque = "input_tensor"}
16511651
emitc.func @execute() {
@@ -1667,8 +1667,6 @@ def EmitC_ClassOp
16671667
Block &getBlock();
16681668
}];
16691669

1670-
let hasCustomAssemblyFormat = 1;
1671-
16721670
let assemblyFormat =
16731671
[{ (`final` $final_specifier^)? $sym_name attr-dict-with-keyword $body }];
16741672
}

0 commit comments

Comments
 (0)