commit | 011381d48b1a5d2bd85c54b697f902f958c181c2 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Sat Jun 13 14:08:15 2015 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Sat Jun 13 14:08:15 2015 +0000 |
tree | f3c491c61da3fdef67f72ba7efb2c41c1f28a67d | |
parent | 096cccd01a9e66bd43282e406eb0268716971546 [diff] [blame] |
[DAGCombiner] Added BSWAP vector constant folding support. llvm-svn: 239675
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index cf51e75..27fa3d2 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -2932,6 +2932,7 @@ 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: