[PATCH] D108049: [InstCombine] Extend canonicalizeClampLike to handle truncated inputs
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 21 06:39:30 PDT 2021
dmgreen updated this revision to Diff 381243.
dmgreen added a comment.
The constants aren't splats! Switch back to using the m_SpecificInt_ICMP method for checking constant elements.
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.381243.patch
Type: text/x-patch
Size: 9176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211021/5596843f/attachment.bin>
More information about the llvm-commits
mailing list