[X86][SSE] Combine shuffles to MOVSS/MOVSD whatever the domain.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 16 Dec 2016 11:48:51 +0000 (11:48 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 16 Dec 2016 11:48:51 +0000 (11:48 +0000)
commitf159a3414fc07793cd22bb1326b2e59f12059a29
treea0c5793f8ab83986fd9c5924d906130b8ebf411e
parenta81719fbfca8e9a5cab00cbc425d9a1ffa3c1f89
[X86][SSE] Combine shuffles to MOVSS/MOVSD whatever the domain.

We already do the same thing in shuffle lowering; but don't do it if we have SSE41 (PBLEND) instead.

llvm-svn: 289937
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/vector-shuffle-combining.ll