[PATCH] D28216: AVX-512: Truncate with unsigned saturation.

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 04:59:31 PST 2017


delena updated this revision to Diff 83798.
delena added a comment.

The previous patch was reverted due to a failure (https://llvm.org/bugs/show_bug.cgi?id=31589).

1. I fixed the bug and added a lot of test cases.
2. I promised to Simon to cover non-avx512 cases with VPACKUS. Now it is in. Additional tests are in avx-trunc.ll.


Repository:
  rL LLVM

https://reviews.llvm.org/D28216

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28216.83798.patch
Type: text/x-patch
Size: 15663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170110/3ddfcabb/attachment.bin>


More information about the llvm-commits mailing list