[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:37:01 PDT 2025


================
@@ -115,11 +116,11 @@ def Tosa_VariableWriteOp : Tosa_Op<"variable.write", []> {
   let summary = "write_buffer operator";
 
   let description = [{
-    Assigns a value to pseudo-buffer resource holding a mutable tensor.
+    Assigns a value to the pseudo-buffer resource holding a persistent mutable tensor.
   }];
 
   let arguments = (ins
-    SymbolNameAttr:$name,
+    I32Attr:$uid,
     AnyType:$value
----------------
Jerry-Ge wrote:

the problem is: `TosaTensor` is an input type while we need an attribute here. 

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


More information about the Mlir-commits mailing list