[PATCH] D58881: [Transform] Improve fold of sadd.with.overflow

Dan Robertson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 3 16:49:56 PST 2019


dlrobertson updated this revision to Diff 189104.
dlrobertson marked 4 inline comments as done.
dlrobertson added a comment.

- Addressed nits
- Use `m_APInt` instead of `ConstantInt`
- Updated tests
- Removed special cases (Will add them in a follow-up)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58881/new/

https://reviews.llvm.org/D58881

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/test/Transforms/InstCombine/call-add-with-overflow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58881.189104.patch
Type: text/x-patch
Size: 6733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190304/05767c02/attachment.bin>


More information about the llvm-commits mailing list