]> granicus.if.org Git - llvm/commit
[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)
commita58877806a925b4d689b6d2eca6b783dae1e6b30
tree7656f85f1abe7402cc3ae21b210f51d38b9727e5
parente9b2f29faf43d6977d5fa388cc0bdf7b55ec6e3e
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354653 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/vector-sext-widen.ll
test/CodeGen/X86/vector-sext.ll
test/CodeGen/X86/vector-zext-widen.ll
test/CodeGen/X86/vector-zext.ll