[mlir][tensor] Support more cases in MergeConsecutiveExtractSlice
This commit adds utility functions to perform general merging of OffsetSizeAndStrideOpInterface by supporting producer rank reducing and non-unit strides. With it we can extend MergeConsecutiveExtractSlice to support more cases. Co-authored-by:Mahesh Ravishankar <ravishankarm@google.com> Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D134294
parent
06010fd1
Please register or sign in to comment