[Mlir-commits] [mlir] [mlir][linalg][nfc] Delete references to args_in/args_out (PR #111517)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Oct 9 12:18:02 PDT 2024


================
@@ -664,8 +664,6 @@ merged into a single step. Canonicalization removes the clone operation and
 func.func @reuseTarget(%arg0: memref<2xf32>, %result: memref<2xf32>){
   %temp = memref.alloc() : memref<2xf32>
   test.generic {
-    args_in = 1 : i64,
-    args_out = 1 : i64,
----------------
banach-space wrote:

Thanks for spotting that. This example is broken in other ways too, e.g (the parser rejects this):
```mlir
%result = bufferization.clone %temp : (memref<2xf32>) -> (memref<2xf32>)
```

Also, at the top of the file:
```
**Note:** This pass is deprecated. Please use the ownership-based buffer
deallocation pass instead.
```

I feel that I should skip this file altogether, it clearly hasn't been maintained for a while now.

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


More information about the Mlir-commits mailing list