[X86] Add reduce_add(ctpop(x)) 'count all bits in a vector' tests
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 24 Jul 2023 10:13:56 +0000 (11:13 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 24 Jul 2023 10:34:08 +0000 (11:34 +0100)
commitce47e13bb9392fac697a79bab54baf439483db45
tree6a6758e0d566175bd17f9b54bb57aa25530f826b
parent3cb16f6d2ddd030c35df7ad3eb7985f1947173cb
[X86] Add reduce_add(ctpop(x)) 'count all bits in a vector' tests

Also add some basic buildvector variants: build_vector(reduce_add(ctpop(x0)), reduce_add(ctpop(x1)), ...)
llvm/test/CodeGen/X86/vector-reduce-ctpop.ll [new file with mode: 0644]