[LegalizeTypes] Scalarize non-byte sized loads in WidenRecRes_Load and SplitVecResLoad
authorCraig Topper <craig.topper@intel.com>
Mon, 24 Feb 2020 22:08:05 +0000 (14:08 -0800)
committerCraig Topper <craig.topper@intel.com>
Mon, 24 Feb 2020 23:14:33 +0000 (15:14 -0800)
commita5fa77888243beede98959ced17596b380e8de59
treeeb55ba82a4e2d253be84a92bdb61564ff0ee074d
parent0ed4744bb511baea08652491aaba4131bc3d676f
[LegalizeTypes] Scalarize non-byte sized loads in WidenRecRes_Load and SplitVecResLoad

Should fix PR42803 and PR44902

Differential Revision: https://reviews.llvm.org/D74590
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/SystemZ/store_nonbytesized_vecs.ll
llvm/test/CodeGen/X86/load-local-v3i1.ll