Implemented special cases for PerformVSELECTCombine.
authorFilipe Cabecinhas <me@filcab.net>
Fri, 16 May 2014 22:47:54 +0000 (22:47 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Fri, 16 May 2014 22:47:54 +0000 (22:47 +0000)
commitd77c1c4465fda5a7ec5432d4e6644c50aa7a74fe
tree7411d39823864a8dc9752a4d36de8969ae17ff5e
parent5ea7215050818473565584b76bdf53c862754a79
Implemented special cases for PerformVSELECTCombine.

vselects with constant masks, after legalization, will get turned into
specialized shuffle_vectors so they can be matched to blend+imm
instructions.

Fixed some tests.

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