[PATCH] D107148: [InstCombine] Fold two-value clamp patterns

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 1 02:57:26 PDT 2021


qiucf updated this revision to Diff 383754.
qiucf added a comment.

Use `m_APInt` to match vector splats.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107148

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/icmp-dom.ll
  llvm/test/Transforms/InstCombine/minmax-fold.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107148.383754.patch
Type: text/x-patch
Size: 5570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211101/b8213f41/attachment.bin>


More information about the llvm-commits mailing list