[PATCH] D58872: [InstCombine] Start canonicalizing to uadd.sat and usub.sat

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 3 01:59:18 PST 2019


nikic updated this revision to Diff 189075.
nikic added a comment.

Use CreateBinaryIntrinsic instead of CreateCall.


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

https://reviews.llvm.org/D58872

Files:
  lib/Transforms/InstCombine/InstCombineSelect.cpp
  test/Transforms/InstCombine/saturating-add-sub.ll
  test/Transforms/InstCombine/unsigned_saturated_sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58872.189075.patch
Type: text/x-patch
Size: 22331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190303/d0451398/attachment.bin>


More information about the llvm-commits mailing list