[PATCH] D108049: [InstCombine] Canonicalize saturate with shift and xor to min/max clamp

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 30 11:25:58 PDT 2021


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

Rebase and ping. Any opinions on here vs aggressive instrcombine?


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

https://reviews.llvm.org/D108049

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/truncating-saturate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108049.369500.patch
Type: text/x-patch
Size: 14440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210830/99f2ae1e/attachment-0001.bin>


More information about the llvm-commits mailing list