[DAGCombiner] Added CTPOP vector constant folding support.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 7 Jun 2015 15:37:14 +0000 (15:37 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 7 Jun 2015 15:37:14 +0000 (15:37 +0000)
commit43421abda8b7134f409ccbdc4be130a5ba9ccfab
treedfae3fc1d23c992fceea7f58c001c32f078b3f99
parentaa8479458ebb9c9a30216424cd9586dbf2b7c1cd
[DAGCombiner] Added CTPOP vector constant folding support.

Added tests to the existing SSE/AVX test files.

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