[PATCH] D112298: [InstCombine] Generalize sadd.sat combine to compute sign bits.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 3 08:52:21 PDT 2021


dmgreen updated this revision to Diff 384473.
dmgreen added a comment.

Updated to make sure there is a vector test that folds, using a splat constant.


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

https://reviews.llvm.org/D112298

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/sadd_sat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112298.384473.patch
Type: text/x-patch
Size: 8228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211103/d4e6a6b4/attachment.bin>


More information about the llvm-commits mailing list