Tensor copy insertion currently uses memory_space = 0 when creating a tensor copy using alloc_tensor. This memory space should instead be the default memory space provided in bufferization options.
BufferOriginAnalysis
MaterializeInDestinationOp
restrict
TensorCopyInsertionPass