When I execute mlir-opt --empty-tensor-to-alloc-tensor --one-shot-bufferize temp.mlir
module {
func.func private @func1(%arg0: memref<5xf32>, %arg1: tensor<4x4xi1>) {
%4 = tensor.empty() : tensor<4x4xi1>
%alloc = memref.alloc() : memref<4x4xi1>
memref.tensor_store %4, %alloc : memref<4x4xi1>
return
}
}
It saids:
error: op was not bufferized
memref.tensor_store %4, %alloc : memref<4x4xi1>
^
How to bufferize memref.tensor_store op?