[Mlir-commits] [mlir] [mlir][bufferization] implement BufferizableOpInterface for concat op (PR #140171)

Kazu Hirata llvmlistbot at llvm.org
Sat May 17 18:42:18 PDT 2025


kazutakahirata wrote:

@j2kun @matthias-springer I'm getting:

```
mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp:1097:54: error: no member named 'ToMemrefOp' in namespace 'mlir::bufferization'
    
mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorDescriptor.cpp:41:12: error: unused variable 'numFields' [-Werror,-Wunused-variable]
```

The latter is just an unused variable in the release build, so that's easy to fix.

I tried to fix the former by replacing `ToMemrefOp` with `ToBufferOp `.  That fixes the build, but I get:

```
Failed Tests (1):
  MLIR :: Dialect/Tensor/bufferize.mlir
```

Would you mind taking a look at this?  If it takes a while, I am happy to revert the PR for you.


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


More information about the Mlir-commits mailing list