[X86][SSE] Vectorized i64 uniform constant SRA shifts
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 6 Jul 2015 22:35:19 +0000 (22:35 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 6 Jul 2015 22:35:19 +0000 (22:35 +0000)
commit6970be03d16d6b4d0073e60c4a987f1860e85cdb
tree1eb336b0d40ab639de8316e2ffbd634c18f3f8fe
parent610992bacad72c50b5c7fc7a8a85ed1fdfdf19c5
[X86][SSE] Vectorized i64 uniform constant SRA shifts

This patch adds vectorization support for uniform constant i64 arithmetic shift right operators.

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

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