efriedma added a comment. I'm not sure this is consistently beneficial; particularly for vectors, if the operand is a comparison (or something derived from a comparison), sign-extending it could be free. https://reviews.llvm.org/D31944