[PATCH] D29369: [ubsan] Omit superflous overflow checks for promoted arithmetic (PR20193)

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 3 14:37:33 PST 2017


vsk updated this revision to Diff 87030.
vsk edited the summary of this revision.
vsk added a comment.

- Use switches per Filipe's comment, and fix a comment in the test case.


https://reviews.llvm.org/D29369

Files:
  lib/CodeGen/CGExprScalar.cpp
  test/CodeGen/compound-assign-overflow.c
  test/CodeGen/ubsan-promoted-arith.cpp
  test/CodeGen/unsigned-promotion.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29369.87030.patch
Type: text/x-patch
Size: 14488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170203/b4d3ee27/attachment-0001.bin>


More information about the cfe-commits mailing list