[Mlir-commits] [mlir] de80c36 - [mlir][emitc] Adjust the emitc.class op description (NFC) (#152570)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Sep 24 08:03:56 PDT 2025
Author: Andrey Timonin
Date: 2025-09-24T17:03:51+02:00
New Revision: de80c36decc7f4f12e782bc0a859637de99be018
URL: https://github.com/llvm/llvm-project/commit/de80c36decc7f4f12e782bc0a859637de99be018
DIFF: https://github.com/llvm/llvm-project/commit/de80c36decc7f4f12e782bc0a859637de99be018.diff
LOG: [mlir][emitc] Adjust the emitc.class op description (NFC) (#152570)
Added:
Modified:
mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
index 721f9f6b320ad..f52eb7b91dc4c 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 }];
}
More information about the Mlir-commits
mailing list