Simplify SplitVecRes_EXTRACT_SUBVECTOR. This means
authorDuncan Sands <baldrick@free.fr>
Wed, 12 Nov 2008 08:37:57 +0000 (08:37 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 12 Nov 2008 08:37:57 +0000 (08:37 +0000)
commit1e465a35c8cd3d2ddd5e1d15fca7ffd3a8dbb565
treef130e0247e034f1d9dd8face13d78072890dd685
parent245146b58a2188eb69bcb34fc2bdf57ebbcfb278
Simplify SplitVecRes_EXTRACT_SUBVECTOR.  This means
that it no longer handles non-power-of-two vectors.
However it previously only handled them sometimes,
depending on obscure numerical relationships between
the index and vector type.  For example, for a vector
of length 6, it would succeed if and only if the
index was an even multiple of 6.  I consider this
more confusing than useful.

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