[mlir][Linalg] Use ReifyRankedShapedTypeOpInterface for pad transforms.
The information is not tied to tensor.empty op and tensor.extract_slice op. We can infer smallest static bounding box for pad transform if they implement ReifyRankedShapedTypeOpInterface. The revision extends the usability for downstream projects. No tests are added because the existing tests cover the change, and most of MLIR ReifyRankedShapedTypeOpInterface ops are covered in the tests, except tensor.generate and bufferization.alloc_tensor ops. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D150227
parent
f85a8456
Please register or sign in to comment