diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-11-23 13:50:27 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-11-23 13:50:27 +0000 |
| commit | 90accbc5d98cd7f475dc8034cf52dedffdcecd64 (patch) | |
| tree | 95267f83d02cc2959d16504332d3624bf6960b5f /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp | |
| parent | a3251bf24c8bc0ebe8fb09e0d59dbc70fa706859 (diff) | |
| download | bcm5719-llvm-90accbc5d98cd7f475dc8034cf52dedffdcecd64.tar.gz bcm5719-llvm-90accbc5d98cd7f475dc8034cf52dedffdcecd64.zip | |
[X86][SSE] Use (V)PHMINPOSUW for vXi16 SMAX/SMIN/UMAX/UMIN horizontal reductions (PR32841)
(V)PHMINPOSUW determines the UMIN element in an v8i16 input, with suitable bit flipping it can also be used for SMAX/SMIN/UMAX cases as well.
This patch matches vXi16 SMAX/SMIN/UMAX/UMIN horizontal reductions and reduces the input down to a v8i16 vector before calling (V)PHMINPOSUW.
A later patch will use this for v16i8 reductions as well (PR32841).
Differential Revision: https://reviews.llvm.org/D39729
llvm-svn: 318917
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions

