aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Timonin <timonina1909@gmail.com>2025-09-24 18:03:51 +0300
committerGitHub <noreply@github.com>2025-09-24 17:03:51 +0200
commitde80c36decc7f4f12e782bc0a859637de99be018 (patch)
treea0d81b517bba090836640de9002febc90089373a
parent8d8bd0aa00b972b4414af4905d360cd28ac20514 (diff)
downloadllvm-de80c36decc7f4f12e782bc0a859637de99be018.zip
llvm-de80c36decc7f4f12e782bc0a859637de99be018.tar.gz
llvm-de80c36decc7f4f12e782bc0a859637de99be018.tar.bz2
[mlir][emitc] Adjust the emitc.class op description (NFC) (#152570)
-rw-r--r--mlir/include/mlir/Dialect/EmitC/IR/EmitC.td4
1 files changed, 1 insertions, 3 deletions
diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
index 721f9f6..f52eb7b 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
@@ -1645,7 +1645,7 @@ def EmitC_ClassOp
return
}
}
- // Class with a final speciferAdd commentMore actions
+ // Class with a final specifer
emitc.class final @modelClass {
emitc.field @fieldName0 : !emitc.array<1xf32> = {emitc.opaque = "input_tensor"}
emitc.func @execute() {
@@ -1667,8 +1667,6 @@ def EmitC_ClassOp
Block &getBlock();
}];
- let hasCustomAssemblyFormat = 1;
-
let assemblyFormat =
[{ (`final` $final_specifier^)? $sym_name attr-dict-with-keyword $body }];
}