Simplified BLEND pattern matching for shuffles.
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Wed, 5 Dec 2012 09:24:57 +0000 (09:24 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Wed, 5 Dec 2012 09:24:57 +0000 (09:24 +0000)
commitcd3c1c4a16e8dc8a5e5981b78f4c6ac46b9667c0
tree77842658497c7b740118beb1aaec6ba453b11f3a
parent7308385539bd90523fd08ba0e2a83c1fc7593765
Simplified BLEND pattern matching for shuffles.
Generate VPBLENDD for AVX2 and VPBLENDW for v16i16 type on AVX2.

llvm-svn: 169366
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h
llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
llvm/lib/Target/X86/X86InstrSSE.td
llvm/test/CodeGen/X86/avx2-shuffle.ll
llvm/test/CodeGen/X86/vec_shuffle-20.ll