[llvm] [X86] Ensure that bit reversals of byte vectors are properly lowered on pure GFNI targets (PR #148304)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 16 00:25:31 PDT 2025
================
@@ -1328,6 +1328,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
setOperationAction(ISD::BITREVERSE, MVT::i16, Custom);
setOperationAction(ISD::BITREVERSE, MVT::i32, Custom);
setOperationAction(ISD::BITREVERSE, MVT::i64, Custom);
+ setOperationAction(ISD::BITREVERSE, MVT::v16i8, Custom);
----------------
RKSimon wrote:
Yes, that was missed in the original (I think originally this was inside the SSSE3 block).
https://github.com/llvm/llvm-project/pull/148304
More information about the llvm-commits
mailing list