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

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 05:27:26 PDT 2021


dmgreen updated this revision to Diff 384704.
dmgreen edited the summary of this revision.
dmgreen added a comment.

Added ComputeMinSignedBits, just to InstCombiner for the moment.


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

https://reviews.llvm.org/D112298

Files:
  llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/sadd_sat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112298.384704.patch
Type: text/x-patch
Size: 9979 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211104/86163ec7/attachment.bin>


More information about the llvm-commits mailing list