diff options
author | Tobias Decking <Tobias.Decking@gmail.com> | 2025-07-18 20:14:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-18 19:14:34 +0100 |
commit | 10b0dee97dd7e5a122116f7ccb26a19b081db9fd (patch) | |
tree | fb03cea7247930539220dea9f88d3f9678a7408f /llvm/lib/CodeGen/MachineFunctionAnalysis.cpp | |
parent | 4bf4e87576688c942b7b337f24fb098247dc4642 (diff) | |
download | llvm-10b0dee97dd7e5a122116f7ccb26a19b081db9fd.zip llvm-10b0dee97dd7e5a122116f7ccb26a19b081db9fd.tar.gz llvm-10b0dee97dd7e5a122116f7ccb26a19b081db9fd.tar.bz2 |
[X86] Ensure that bit reversals of byte vectors are properly lowered on pure GFNI targets (#148304)
Fixes #148238.
When GFNI is present, custom bit reversal lowerings for scalar integers
become active. They work by swapping the bytes in the scalar value and
then reversing bits in a vector of bytes. However, the custom bit
reversal lowering for a vector of bytes is disabled if GFNI is present
in isolation, resulting messed up code.
---------
Co-authored-by: Simon Pilgrim <llvm-dev@redking.me.uk>
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions