summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-04-28 10:46:17 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-04-28 10:46:17 +0000
commit93ad48210cb7c61906875ad5be1ca8d894063380 (patch)
treee9dc544fad4b64eb822d82a17a5a55069c0dce1e /llvm/lib/CodeGen/SelectionDAG
parentfed302ae37ec56badc8283e39070561e47ae740e (diff)
downloadbcm5719-llvm-93ad48210cb7c61906875ad5be1ca8d894063380.tar.gz
bcm5719-llvm-93ad48210cb7c61906875ad5be1ca8d894063380.zip
[X86][SSE] Optimize llvm.experimental.vector.reduce.xor.vXi1 parity reduction (PR38840)
An xor reduction of a bool vector can be optimized to a parity check of the MOVMSK/BITCAST'd integer - if the population count is odd return 1, else return 0. Differential Revision: https://reviews.llvm.org/D61230 llvm-svn: 359396
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud