llvm-project
10b0dee9 - [X86] Ensure that bit reversals of byte vectors are properly lowered on pure GFNI targets (#148304)

Commit
110 days ago
[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>
Author
Parents
Loading