echristo added a comment. I think all we actually need to check is whether or not the sign extended value is in UInt16 rather than the zero extended value. I've gone ahead and done this and I'll commit it in a few. Repository: rL LLVM http://reviews.llvm.org/D16687