Expand vector bswap in LegalizeVectorOps
authorHal Finkel <hfinkel@anl.gov>
Mon, 3 Feb 2014 17:27:25 +0000 (17:27 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 3 Feb 2014 17:27:25 +0000 (17:27 +0000)
commite6c04bff3cc9db20d049f20bd75092889cdf36b1
tree846f07b8f895cb7b826b0004666e830838400daa
parentc2489e340e5b51c629bb79b70d8b55af7c20fce2
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
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
test/CodeGen/X86/bswap-vector.ll [new file with mode: 0644]