Add AVX versions of blend vector operations and fix some issues noticed
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 8 Sep 2011 18:05:08 +0000 (18:05 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 8 Sep 2011 18:05:08 +0000 (18:05 +0000)
commit814c6ced85e76c0e0ed0ffdea0c95b2f655847bb
tree4ffa29953ba28e5c6f74c05f5c49c74f5bf9e633
parent7db2d3a504713fce68bb859996994126af823ed0
Add AVX versions of blend vector operations and fix some issues noticed
in Nadav's r139285 and r139287 commits.

1) Rename vsel.ll to a more descriptive name
2) Change the order of BLEND operands to "Op1, Op2, Cond", this is
necessary because PBLENDVB is already used in different places with
this order, and it was being emitted in the wrong way for vselect
3) Add AVX patterns and tests for the same SSE41 instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrFragmentsSIMD.td
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/avx-blend.ll [new file with mode: 0644]
test/CodeGen/X86/sse41-blend.ll [new file with mode: 0644]
test/CodeGen/X86/vsel.ll [deleted file]