[X86][SSE] Vectorize i64 ASHR operations
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 29 Jul 2015 20:31:45 +0000 (20:31 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 29 Jul 2015 20:31:45 +0000 (20:31 +0000)
commit5ff91d8781c5c33cce96cb8fe2c12113a2f4ec64
tree0afdcfa5b8fead7a3fb1b0533ddf16e513ed4556
parentc54abc96f852b9afe752b6d725ade91f57b31ae1
[X86][SSE] Vectorize i64 ASHR operations

This patch vectorizes the v2i64/v4i64 ASHR shift operations - the last remaining integer vector shifts that are still being transferred to/from the scalar unit to be completed.

Differential Revision: http://reviews.llvm.org/D11439

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243569 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86TargetTransformInfo.cpp
test/Analysis/CostModel/X86/arith.ll
test/Analysis/CostModel/X86/testshiftashr.ll
test/CodeGen/X86/vector-shift-ashr-128.ll
test/CodeGen/X86/vector-shift-ashr-256.ll