vsk marked an inline comment as done. vsk added a comment. Thanks for the review!
================ Comment at: lib/CodeGen/CGBuiltin.cpp:912 + auto IntMax = + llvm::APInt::getMaxValue(ResultInfo.Width).zextOrSelf(Op1Info.Width); + llvm::Value *TruncOverflow = CGF.Builder.CreateICmpUGT( ---------------- efriedma wrote: > zext() rather than zextOrSelf(). Will fix before committing. https://reviews.llvm.org/D41149 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits