fabianmcg wrote: > Are ExpandShape and CollapseShape in a followup PR? Yes, see the comment in the PR description where I mention only `subview` was implemented to keep the patch small. https://github.com/llvm/llvm-project/pull/161280