summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-04-09 15:50:15 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-04-09 15:50:15 +0000
commitda671be7fd01b86311450ce953c539cfcd5f5eb6 (patch)
tree0e15827378aa999eae11d759f5239c0835a51ac2 /lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
parent06ae1d2c00a9af483c4e3fcf8117dfb7c290f175 (diff)
downloadllvm-da671be7fd01b86311450ce953c539cfcd5f5eb6.tar.gz
llvm-da671be7fd01b86311450ce953c539cfcd5f5eb6.tar.bz2
llvm-da671be7fd01b86311450ce953c539cfcd5f5eb6.tar.xz
Merging r200705:
------------------------------------------------------------------------ r200705 | hfinkel | 2014-02-03 12:27:25 -0500 (Mon, 03 Feb 2014) | 5 lines Expand vector bswap in LegalizeVectorOps ISD::BSWAP was missing from the list of node types that should be expanded element-wise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@205910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
index 2c3cdccb56..3fb2d9bdf5 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@ -210,6 +210,7 @@ SDValue VectorLegalizer::LegalizeOp(SDValue Op) {
case ISD::SRL:
case ISD::ROTL:
case ISD::ROTR:
+ case ISD::BSWAP:
case ISD::CTLZ:
case ISD::CTTZ:
case ISD::CTLZ_ZERO_UNDEF: