nicolasvasilache wrote: @banach-space I really like how your recent change significantly reduced the complexity compared to the previous approach. Hopefully the shape_cast swaps nicely with the vector transfers next :) https://github.com/llvm/llvm-project/pull/71918