[mlir][tensor] Add option to fold only tensor.empty with a single use
This is useful for transformations such as bufferization, which is looking for tensor.extract_slice/insert_slice pairs. Also fix the documentation of the corresponding tranform op. Differential Revision: https://reviews.llvm.org/D152455
Loading
Please sign in to comment