OSDN Git Service

[DAGCombiner] Teach createBuildVecShuffle to handle cases where input vectors are...
authorCraig Topper <craig.topper@gmail.com>
Fri, 14 Oct 2016 06:00:42 +0000 (06:00 +0000)
committerCraig Topper <craig.topper@gmail.com>
Fri, 14 Oct 2016 06:00:42 +0000 (06:00 +0000)
commitcfa4f53d33d663ca712a16b5f9690a455a09d50e
treea184f2bf064570a1b02cf683eb28f44b6a4fc338
parent172ce59e753d38738c6ae32ff4f0164f169b20f8
[DAGCombiner] Teach createBuildVecShuffle to handle cases where input vectors are less than half of the output vector size.

This will be needed by a future commit to support sign/zero extending from v8i8 to v8i64 which requires a sign/zero_extend_vector_inreg to be created which requires v8i8 to be concatenated upto v64i8 and goes through this code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284204 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/avx512-build-vector.ll
test/CodeGen/X86/vec_extract-avx.ll