[X86] Don't mark SEXTLOADS with narrow types as Custom with -x86-experimental-vector...
authorCraig Topper <craig.topper@intel.com>
Thu, 15 Nov 2018 00:21:41 +0000 (00:21 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 15 Nov 2018 00:21:41 +0000 (00:21 +0000)
commitea6ced9d1a64097b9ea356b1e14a6c40b3a63353
tree17b8ec86175d3718aba6a99bbba5d6323c870820
parent3a881e6bbcb06a7e753f88249a29d427ecce64c5
[X86] Don't mark SEXTLOADS with narrow types as Custom with -x86-experimental-vector-widening-legalization.

The narrow types end up requesting widening, but generic legalization will end up scalaring and using a build_vector to do the widening.

llvm-svn: 346916
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/shrink_vmul-widen.ll
llvm/test/CodeGen/X86/vec_int_to_fp-widen.ll
llvm/test/CodeGen/X86/vector-sext-widen.ll
llvm/test/CodeGen/X86/vector-zext-widen.ll