[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)
commitdfecd45f371584b80d050d29955324ba37c6311f
tree944f68fc22832f04e176543942a4cafb8328e96f
parent26ed8d1263d3762f00095a3ff3d7f13887dd2728
[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.

llvm-svn: 320013
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp