[DAGCombiner] Added BSWAP vector constant folding support.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 13 Jun 2015 14:08:15 +0000 (14:08 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 13 Jun 2015 14:08:15 +0000 (14:08 +0000)
commitd8b27b1cb14a2f6ce88505372ffc1eb9f5068efe
tree7a9148ee5966a90eee71862d09f70db1cf2d2c26
parent6b520d01a20d5c25e1b4de4ade802ca76246d3fb
[DAGCombiner] Added BSWAP vector constant folding support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239675 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/bswap-vector.ll