diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-06-13 14:08:15 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-06-13 14:08:15 +0000 |
commit | 011381d48b1a5d2bd85c54b697f902f958c181c2 (patch) | |
tree | f3c491c61da3fdef67f72ba7efb2c41c1f28a67d /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 096cccd01a9e66bd43282e406eb0268716971546 (diff) | |
download | bcm5719-llvm-011381d48b1a5d2bd85c54b697f902f958c181c2.tar.gz bcm5719-llvm-011381d48b1a5d2bd85c54b697f902f958c181c2.zip |
[DAGCombiner] Added BSWAP vector constant folding support.
llvm-svn: 239675
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index cf51e756d84..27fa3d2b1e3 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -2932,6 +2932,7 @@ SDValue SelectionDAG::getNode(unsigned Opcode, SDLoc DL, case ISD::TRUNCATE: case ISD::UINT_TO_FP: case ISD::SINT_TO_FP: + case ISD::BSWAP: case ISD::CTLZ: case ISD::CTLZ_ZERO_UNDEF: case ISD::CTTZ: |