[PATCH] D41149: [CodeGen] Specialize mixed-sign mul-with-overflow (fix PR34920)

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 13 15:33:00 PST 2017


vsk updated this revision to Diff 126854.
vsk marked an inline comment as done.
vsk edited the summary of this revision.
vsk added a comment.

- Handle unsigned result types.
- Extend the test driver to validate 54 different combinations of signed,  unsigned, and result types: https://gist.github.com/vedantk/3eb9c88f82e5c32f2e590555b4af5081
- Don't try to specialize irgen for cases where the result type is wider than the operand type.


https://reviews.llvm.org/D41149

Files:
  lib/CodeGen/CGBuiltin.cpp
  test/CodeGen/builtins-overflow.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41149.126854.patch
Type: text/x-patch
Size: 10778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171213/c5c5e43f/attachment.bin>


More information about the cfe-commits mailing list