[PATCH] D54274: Constant folding and instcombine for saturating subs

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 11 02:33:33 PST 2018


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

Rebase over APInt patch, implement new undef folds with zero result.


https://reviews.llvm.org/D54274

Files:
  lib/Analysis/ConstantFolding.cpp
  lib/Analysis/InstructionSimplify.cpp
  lib/Analysis/ValueTracking.cpp
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/saturating-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54274.173550.patch
Type: text/x-patch
Size: 13399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181111/55fb548b/attachment.bin>


More information about the llvm-commits mailing list