[PATCH] D51401: [X86] Add support for turning vXi1 shuffles into KSHIFTL/KSHIFTR.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 14:49:40 PDT 2018


craig.topper updated this revision to Diff 163197.
craig.topper edited the summary of this revision.
craig.topper added a comment.

Add test cases for KNL and SKX. The KNL code is pretty terrible on anything but v16i1, but that's to be expected since we don't have the v32i1 or v64i1 types on KNL or an 8-bit kshift. The intrinsics that will be added for clang will only use 8, 32, and 64 on cpus with avx512dq/avx512bw so this isn't an issue that needs to be addressed immediately.


https://reviews.llvm.org/D51401

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512-skx-insert-subvec.ll
  test/CodeGen/X86/kshift.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51401.163197.patch
Type: text/x-patch
Size: 34478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180829/1fa4811c/attachment.bin>


More information about the llvm-commits mailing list