efriedma added a comment. Is there any way to write a test for the transform? Maybe not, given the limited places we use INSERT_SUBVECTOR. The new API looks good. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D86894/new/ https://reviews.llvm.org/D86894