[Mlir-commits] [mlir] [mlir][emitc] Adjust the emitc.class op description (NFC) (PR #152570)
Andrey Timonin
llvmlistbot at llvm.org
Thu Aug 7 11:42:03 PDT 2025
https://github.com/EtoAndruwa created https://github.com/llvm/llvm-project/pull/152570
None
>From 12c752da91e16c1c3da7412fb3e5b396f985783b Mon Sep 17 00:00:00 2001
From: EtoAndruwa <timonina1909 at gmail.com>
Date: Thu, 7 Aug 2025 21:38:07 +0300
Subject: [PATCH] [mlir][emitc] Adjust the emitc.class op description (NFC)
---
mlir/include/mlir/Dialect/EmitC/IR/EmitC.td | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
index 937b34a625628..3817c46839f73 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
@@ -1618,7 +1618,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() {
@@ -1640,8 +1640,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