efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/CodeGen/CGBuiltin.cpp:912
+      auto IntMax =
+          llvm::APInt::getMaxValue(ResultInfo.Width).zextOrSelf(Op1Info.Width);
+      llvm::Value *TruncOverflow = CGF.Builder.CreateICmpUGT(
----------------
zext() rather than zextOrSelf().


https://reviews.llvm.org/D41149



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to