OSDN Git Service

[x86] Teach the new vector shuffle lowering to use the AVX VPERMILPS
authorChandler Carruth <chandlerc@gmail.com>
Sat, 20 Sep 2014 20:52:07 +0000 (20:52 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 20 Sep 2014 20:52:07 +0000 (20:52 +0000)
commit9c7ffd20df8504d26b63658f784d0bdc6a935048
tree76157f56c83c60ef5c634620c9a76ddcd3805d20
parent1c1bde666c548fb86e7e45ca61eeaa39413f38b2
[x86] Teach the new vector shuffle lowering to use the AVX VPERMILPS
instruction for single-vector floating point shuffles. This in turn
allows the shuffles to fold a load into the instruction which is one of
the common regressions hit with the new shuffle lowering.

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