[mlir][MemRef] Add early exit for computing dropped unit-dims.
Computing dropped unit-dims when all the unit dims are dropped, does not need to check for strides being dropped. This also enables canonicalization of reduced-rank subviews. Reviewed By: gysit Differential Revision: https://reviews.llvm.org/D121766
Loading
Please sign in to comment