[llvm] [X86] Try to scale i8/i16 VPERMV3 to i32 (PR #97212)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 30 17:59:34 PDT 2024


https://github.com/RKSimon commented:

Do you have real world examples of this? I mention this as I'm intending to patch X86InstCombineIntrinsic.cpp so that VPERMV3 style intrinsics with constant masks get converted to regular shuffles like most other x86 shuffle intrinsics. I think this should address most cases unless you know it can occur in the backend.

https://github.com/llvm/llvm-project/pull/97212


More information about the llvm-commits mailing list