OSDN Git Service

[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)
commitaa87382d917d31c55f4a155b7814e2a3801af2f7
treec728b0290e6f0369062f1a3ff4d9376cd52e4ccb
parent307485263c5f33fb558bb2124876e5fdd3412b63
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346916 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/shrink_vmul-widen.ll
test/CodeGen/X86/vec_int_to_fp-widen.ll
test/CodeGen/X86/vector-sext-widen.ll
test/CodeGen/X86/vector-zext-widen.ll