diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-10-12 14:18:47 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-10-12 14:18:47 +0000 |
commit | 78b5a3c3ef120e51e31a592ec98b2f0558f2f284 (patch) | |
tree | c2bec427e9a5038ceef5680db580c4620c636110 /llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | 9552dd187aadd92aeacda13ad4294be12ebe85ab (diff) | |
download | bcm5719-llvm-78b5a3c3ef120e51e31a592ec98b2f0558f2f284.tar.gz bcm5719-llvm-78b5a3c3ef120e51e31a592ec98b2f0558f2f284.zip |
[X86][SSE] LowerVectorCTPOP - pull out repeated byte sum stage.
Pull out repeated byte sum stage for popcount of vector elements > 8bits.
This allows us to simplify the LUT/BITMATH popcnt code to always assume vXi8 vectors, and also improves avx512bitalg codegen which only has access to vpopcntb/vpopcntw.
llvm-svn: 344348
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
0 files changed, 0 insertions, 0 deletions