diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-04-28 10:46:17 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-04-28 10:46:17 +0000 |
| commit | 93ad48210cb7c61906875ad5be1ca8d894063380 (patch) | |
| tree | e9dc544fad4b64eb822d82a17a5a55069c0dce1e /llvm/lib/CodeGen/SelectionDAG | |
| parent | fed302ae37ec56badc8283e39070561e47ae740e (diff) | |
| download | bcm5719-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

