diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-10-14 12:10:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 12:10:41 +0100 |
commit | ccb9835edb4612f73abc9f13880ea671117347ce (patch) | |
tree | c459f7e678b092563f613264d7c5de55359a2e50 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4bf6e831d554b7a075a5f1c4c34a38b05e20ec3b (diff) | |
download | llvm-ccb9835edb4612f73abc9f13880ea671117347ce.zip llvm-ccb9835edb4612f73abc9f13880ea671117347ce.tar.gz llvm-ccb9835edb4612f73abc9f13880ea671117347ce.tar.bz2 |
[X86] LowerShift - lower vXi8 shifts of an uniform constant using PSHUFB (#112175)
If each 128-bit vXi8 lane is shifting the same constant value, we can pre-compute the 8 valid shift results and use PSHUFB to act as a LUT with the shift amount.
Fixes #110317
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions