[PATCH] D51263: [X86][SSE] Improve variable scalar shift of vXi8 vectors (PR34694)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 27 11:41:28 PDT 2018


RKSimon updated this revision to Diff 162720.
RKSimon added a comment.

On pre-SSE41 targets use PSLLQ+PSRLQ to zero-extend v16i8/v8i16 splat shift amounts - this affects a number of extra tests - if accepted I'll push the PSLLQ+PSRLQ change before the vXi8 support.


Repository:
  rL LLVM

https://reviews.llvm.org/D51263

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/lower-vec-shift-2.ll
  test/CodeGen/X86/vector-rotate-128.ll
  test/CodeGen/X86/vector-rotate-512.ll
  test/CodeGen/X86/vector-shift-ashr-128.ll
  test/CodeGen/X86/vector-shift-ashr-256.ll
  test/CodeGen/X86/vector-shift-ashr-512.ll
  test/CodeGen/X86/vector-shift-lshr-128.ll
  test/CodeGen/X86/vector-shift-lshr-256.ll
  test/CodeGen/X86/vector-shift-lshr-512.ll
  test/CodeGen/X86/vector-shift-shl-128.ll
  test/CodeGen/X86/vector-shift-shl-256.ll
  test/CodeGen/X86/vector-shift-shl-512.ll
  test/CodeGen/X86/vshift-1.ll
  test/CodeGen/X86/vshift-2.ll
  test/CodeGen/X86/vshift-3.ll
  test/CodeGen/X86/vshift-4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51263.162720.patch
Type: text/x-patch
Size: 104102 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180827/4fca4c3e/attachment-0001.bin>


More information about the llvm-commits mailing list