[X86] Update TTI to report that v1iX/v1fX types aren't legal for masked gather/scatte...
authorCraig Topper <craig.topper@intel.com>
Thu, 16 Nov 2017 06:02:05 +0000 (06:02 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 16 Nov 2017 06:02:05 +0000 (06:02 +0000)
commit46a5d58b8c16b7de33dfdf4c86bf7d2b5a7a24fb
treedb914062fcd98da679fcb811436ab0125791c10e
parent36e8d66e1ad8fb8da16733d072811b68bf26be00
[X86] Update TTI to report that v1iX/v1fX types aren't legal for masked gather/scatter/load/store.

The type legalizer will try to scalarize these operations if it sees them, but there is no handling for scalarizing them. This leads to a fatal error. With this change they will now be scalarized by the mem intrinsic scalarizing pass before SelectionDAG.

llvm-svn: 318380
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/CodeGen/X86/masked_gather_scatter.ll
llvm/test/CodeGen/X86/masked_memop.ll