ToMemrefOps are no longer considered to be inplace memory writes. This is to support partial bufferization.
It is assumed that ToMemrefOps are created only by the bufferization. Bufferization has certain assumptions about this op (and ToTensorOp) and knows how it is used. Writing to buffers that are produced/consumed by ToMemrefOp/ToTensorOp may be undefined behavior. See the documentation of these ops for more details.
Depends On D114691