[x86] As a follow-up to r217819, don't check for VSELECT legality now
authorChandler Carruth <chandlerc@gmail.com>
Tue, 16 Sep 2014 00:24:42 +0000 (00:24 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 16 Sep 2014 00:24:42 +0000 (00:24 +0000)
commitbad2c13aae364452aad390e99225e70e69ffaab5
treee4291bc8f593b7bc197cc822d350ea05b43b4710
parentcba9d1273a61b371eda0c346293f6abea0980e64
[x86] As a follow-up to r217819, don't check for VSELECT legality now
that we don't use VSELECT and directly emit an addsub synthetic node.
Also remove a stale comment referencing VSELECT.

The test case is updated to use 'core2' which only has SSE3, not SSE4.1,
and it still passes. Previously it would not because we lacked
sufficient blend support to legalize the VSELECT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217849 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/sse3-avx-addsub-2.ll