[Mlir-commits] [mlir] [mlir][tosa] Apply 'Symbol' trait to `tosa.variable` (PR #153223)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Sep 1 05:55:29 PDT 2025
================
@@ -105,14 +109,18 @@ def Tosa_VariableOp : Tosa_Op<"variable", []> {
let hasCustomAssemblyFormat = 1;
let assemblyFormat = [{
- $name
+ $sym_name
attr-dict
custom<VariableOpTypeOrInitialValue>($var_shape, $type, $initial_value)
}];
let builders = [Tosa_VariableOpBuilder];
- let hasVerifier = 1;
+ let extraClassDeclaration = [{
----------------
udaya-ranga wrote:
Should this be `getSymbolName()` to avoid ambiguity ?
https://github.com/llvm/llvm-project/pull/153223
More information about the Mlir-commits
mailing list