[vector] When trimming leading insertion dimensions, base the final result on the ranks
This was incorrect when the number of dropped source dims was smaller than the number of dropped dst dims. We still need to insert zeros if there is anything dropped from the src. Differential Revision: https://reviews.llvm.org/D148636
Loading
Please sign in to comment