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

Georgios Pinitas llvmlistbot at llvm.org
Mon Mar 17 03:32: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,
+    SymbolNameAttr:$uid,
----------------
GeorgeARM wrote:

Agreed. Let's keep `name`. Probably worth amending this change and proceed to the rest of the small changes that this patch fixes.

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


More information about the Mlir-commits mailing list