[PATCH] D54532: [InstructionSimplify] Add support for saturating add/sub

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 18 07:48:30 PST 2018


nikic updated this revision to Diff 174541.
nikic edited the summary of this revision.
nikic added a comment.

Return -1 for both signed and unsigned saturating addition with undef operand.


https://reviews.llvm.org/D54532

Files:
  lib/Analysis/InstructionSimplify.cpp
  test/Transforms/InstSimplify/saturating-add-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54532.174541.patch
Type: text/x-patch
Size: 15786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181118/50accf38/attachment-0001.bin>


More information about the llvm-commits mailing list