OSDN Git Service

[x86] Teach the new vector shuffle lowering to use VPERMILPD for
authorChandler Carruth <chandlerc@gmail.com>
Sat, 20 Sep 2014 22:09:27 +0000 (22:09 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 20 Sep 2014 22:09:27 +0000 (22:09 +0000)
commitae464b2ba144ebf3993dd41bd4bc950df97e59cd
tree1a89bf2d09575d4947eedb1b41df385cfef6c0bb
parent479d0ba62b5ad728be7056787172726a9199a46c
[x86] Teach the new vector shuffle lowering to use VPERMILPD for
single-input shuffles with doubles. This allows them to fold memory
operands into the shuffle, etc. This is just the analog to the v4f32
case in my prior commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218193 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-shuffle-128-v2.ll
test/CodeGen/X86/vector-shuffle-256-v4.ll