[Mlir-commits] [mlir] [mlir][tosa] Align Variable ops to match with TOSA v1.0 spec (PR #130680)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Mar 11 09:38:40 PDT 2025
================
@@ -86,12 +86,13 @@ def Tosa_VariableOp : Tosa_Op<"variable", []> {
let summary = "Defines a variable";
let description = [{
- Defines a new TOSA variable. This is a mutable value.
+ Defines a new TOSA variable.
+ This is a persistent mutable value across multiple TOSA graph invocations.
Modifications are expressed using read/write semantics.
}];
let arguments = (ins
- SymbolNameAttr:$name,
+ I32Attr:$uid,
----------------
Jerry-Ge wrote:
Yea. The other dialects are actually using the Name Strings. https://github.com/llvm/llvm-project/blob/f1598367b661e46c4ecc7dd8ea35f9eac79a654c/mlir/include/mlir/Dialect/MLProgram/IR/MLProgramOps.td#L134
https://github.com/llvm/llvm-project/pull/130680
More information about the Mlir-commits
mailing list