OSDN Git Service

[SelectionDAG] In SplitVecOp_EXTRACT_VECTOR_ELT, simplify the code that makes the...
authorCraig Topper <craig.topper@intel.com>
Thu, 7 Dec 2017 08:04:34 +0000 (08:04 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 7 Dec 2017 08:04:34 +0000 (08:04 +0000)
commitff096475dbfd1dfdf2fed1b374d7e2bb45731ee3
treeb51f8d1c13e615374504d28ba9e517912369ba82
parent608221f7aa51443ea561b9a3bb1fe67c0438a89b
[SelectionDAG] In SplitVecOp_EXTRACT_VECTOR_ELT, simplify the code that makes the type byte addressable.

We can just extend the original vector to vXi1 and trust that the legalization process will revisit it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320013 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp