[PATCH] D37893: [X86] Prefer VPERMQ over VPERM2F128 for any unary shuffle, not just the ones that can be done with a insertf128

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 10:43:14 PDT 2017


craig.topper updated this revision to Diff 115423.
craig.topper added a comment.

Move AVX2 unary shuffle check to the top of the function.


https://reviews.llvm.org/D37893

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx-vperm2x128.ll
  test/CodeGen/X86/avx512-shuffles/partial_permute.ll
  test/CodeGen/X86/vector-shuffle-256-v8.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37893.115423.patch
Type: text/x-patch
Size: 9989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170915/541ca088/attachment.bin>


More information about the llvm-commits mailing list