https://github.com/arsenm commented: Can you rebase this and point me to the code in the vectorizer where this is making a difference? The SLP vectorizer's logic about what is vectorizable based on operation legality never really made sense to me. https://github.com/llvm/llvm-project/pull/95840