[Mlir-commits] [mlir] [mlir][tosa] Align Variable ops to match with TOSA v1.0 spec (PR #130680)

Georgios Pinitas llvmlistbot at llvm.org
Tue Mar 11 08:38:56 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,
----------------
GeorgeARM wrote:

Although the spec specifies an uid the name was kind of useful to tell the truth.

https://github.com/llvm/llvm-project/pull/130680


More information about the Mlir-commits mailing list