Add support for scalarizing/splitting vector bswap.
authorRaul E. Silvera <rsilvera@google.com>
Tue, 18 Mar 2014 17:49:12 +0000 (17:49 +0000)
committerRaul E. Silvera <rsilvera@google.com>
Tue, 18 Mar 2014 17:49:12 +0000 (17:49 +0000)
commit370981ad17f6ce2e04a5493b12b670b0f1991d65
tree2e7e123bf55d3cfe717927fdea8bb152fff1dd80
parente1ea4faca159ff8e6fba39d00fee8ea5b4b5efe8
Add support for scalarizing/splitting vector bswap.

Summary:
  SLP Vectorization of intrinsics (r203707) has exposed cases where the
  expansion of vector bswap is failing (PR19151).

Reviewers: hfinkel

CC: chandlerc
Differential Revision: http://llvm-reviews.chandlerc.com/D3104

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