summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-02-03 17:27:25 +0000
committerHal Finkel <hfinkel@anl.gov>2014-02-03 17:27:25 +0000
commite6c04bff3cc9db20d049f20bd75092889cdf36b1 (patch)
tree846f07b8f895cb7b826b0004666e830838400daa /lib
parentc2489e340e5b51c629bb79b70d8b55af7c20fce2 (diff)
downloadllvm-e6c04bff3cc9db20d049f20bd75092889cdf36b1.tar.gz
llvm-e6c04bff3cc9db20d049f20bd75092889cdf36b1.tar.bz2
llvm-e6c04bff3cc9db20d049f20bd75092889cdf36b1.tar.xz
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/trunk@200705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-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: