[PATCH] D45315: [X86] Improve unsigned saturation downconvert detection.

Artur Gainullin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 11 02:34:42 PDT 2018


ArturGainullin updated this revision to Diff 141967.
ArturGainullin added a comment.

- Added detection of the smax(smin) pattern.


Repository:
  rL LLVM

https://reviews.llvm.org/D45315

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512-trunc.ll
  test/CodeGen/X86/vector-trunc-packus.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45315.141967.patch
Type: text/x-patch
Size: 31747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180411/c4d3ef36/attachment-0001.bin>


More information about the llvm-commits mailing list