diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-03-26 14:39:46 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-03-26 15:47:43 +0000 |
commit | 9d1721ce39269387f56314a79b26581f99b236fb (patch) | |
tree | d598158bd50d800b593c47a65573fde6febf6ecb /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 3eef47407b7247513f125833abc688cea3a1d218 (diff) | |
download | llvm-9d1721ce39269387f56314a79b26581f99b236fb.zip llvm-9d1721ce39269387f56314a79b26581f99b236fb.tar.gz llvm-9d1721ce39269387f56314a79b26581f99b236fb.tar.bz2 |
[X86][SSE] Prefer PACKUS(AND(),AND()) to SHUFFLE(PSHUFB(),PSHUFB()) on pre-AVX2 targets
As discussed on PR31443, we should be trying to use PACKUS for binary truncation patterns to reduce the number of shuffles.
The plan is to support AVX2+ targets once we've worked around PR45315 - we fail to peek through a VBROADCAST_LOAD mask to recognise zero upper bits in a PACKUS pattern.
We should also be able to add support for v8i16 and possibly 256/512-bit vectors as well.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions