lukel97 wrote: Ping The test diff is smaller now after rebasing on top of #66087. It does the same optimisation for the vmv.s.xs generated from insert_vector_elt, and this PR catches the remaining other cases. https://github.com/llvm/llvm-project/pull/66659