https://github.com/matthias-springer commented: I think this pattern would fit best next to `DropRedundantInsertSliceRankExpansion` (maybe rename `populateDropRedundantInsertSliceRankExpansionPatterns`). https://github.com/llvm/llvm-project/pull/86328