[Mlir-commits] [mlir] [mlir][utils] Update generate-test-checks.py (use SSA names) (PR #136819)

Andrzej Warzyński llvmlistbot at llvm.org
Wed Apr 23 00:54:54 PDT 2025


banach-space wrote:

After submitting this, I realized that mlir-opt itself renames the variables like this:

```mlir
  func.func @conv1d_nwc_4x2x8_memref(%arg0: memref<4x6x3xf32>, %arg1: memref<1x3x8xf32>, %arg2: memref<4x2x8xf32>) {
    linalg.conv_1d_nwc_wcf {dilations = dense<1> : tensor<1xi64>, strides = dense<3> : tensor<1xi64>} ins(%arg0, %arg1 : memref<4x6x3xf32>, memref<1x3x8xf32>) outs(%arg2 : memref<4x2x8xf32>)
    return
  }
```

So unfortunately, this change alone isn't as useful as I originally hoped. I’ll look into what can be done on the `mlir-opt` side separately.

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


More information about the Mlir-commits mailing list