nikic added a comment. As this is not a cost-model driven transform, it should be part of InstCombine, not VectorCombine. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147373/new/ https://reviews.llvm.org/D147373