OSDN Git Service

[X86][SSE] Improve variable scalar shift of vXi8 vectors (PR34694)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 28 Aug 2018 10:37:29 +0000 (10:37 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 28 Aug 2018 10:37:29 +0000 (10:37 +0000)
commitb9a5b63789ffe747e1ec3508b172702fcacb6b5f
treee01553ee6e858a6ffa435c02f10417e2a2f4a152
parentb2b31f263097e191905953fe383fe7aeac16afe8
[X86][SSE] Improve variable scalar shift of vXi8 vectors (PR34694)

This patch creates the shift mask and actual shift using the vXi16 vector shift ops.

Differential Revision: https://reviews.llvm.org/D51263

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340813 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
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