[mlir] translate memref.reshape ops that have static shapes
This patch references code for translating memref.reinterpret_cast ops to add translation rules for memref.reshape ops that have a static shape argument. Since reshape ops don't have offsets, sizes, or strides, this patch simply sets the allocated and aligned pointers of the MemRef descriptor. Reviewed By: ftynse, cathyzhyi Differential Revision: https://reviews.llvm.org/D125039
Loading
Please sign in to comment