[X86] Add test cases to cover the path in VectorLegalizer::ExpandLoad for non-byte...
authorCraig Topper <craig.topper@intel.com>
Fri, 22 Feb 2019 06:18:32 +0000 (06:18 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 22 Feb 2019 06:18:32 +0000 (06:18 +0000)
commit0ca023b3b7c93266b03e8a7929fd65ccb2271ee2
tree08fc7dc926df74dd9cd694b75586bc9262726362
parentf131d6110eb1a981fd65e630051abe57ab6a4fa9
[X86] Add test cases to cover the path in VectorLegalizer::ExpandLoad for non-byte sized loads where bits from two loads need to be concatenated.

If the scalar type doesn't divide evenly into the WideVT then the code will need to take some bits from adjacent scalar loads and combine them.

But most of our testing is for i1 element type which always divides evenly.

llvm-svn: 354653
llvm/test/CodeGen/X86/vector-sext-widen.ll
llvm/test/CodeGen/X86/vector-sext.ll
llvm/test/CodeGen/X86/vector-zext-widen.ll
llvm/test/CodeGen/X86/vector-zext.ll