When I tried mlir-opt -empty-tensor-to-alloc-tensor --one-shot-bufferize
on:
module {
func.func private @func1(%arg0: f32, %arg1: tensor<8xf32>) {
%1 = tensor.empty() : tensor<8xi1>
vector.print %1 : tensor<8xi1>
return
}
}
It said:
temp.mlir:4:5: error: op was not bufferized
vector.print %1 : tensor<8xi1>
Can the vector.print
be bufferized?