[PATCH] D109155: [InstCombine] Fold BW/2+1 tops bits are same pattern

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 3 01:10:50 PDT 2021


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

Remove commutative matchers, adding NE handling.


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

https://reviews.llvm.org/D109155

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-topbitssame.ll
  llvm/test/Transforms/InstCombine/truncating-saturate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109155.370358.patch
Type: text/x-patch
Size: 17998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210903/fe5ed45e/attachment.bin>


More information about the llvm-commits mailing list