[llvm] [X86] Use GFNI for vXi8 shifts/rotates (PR #89115)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 20:14:20 PDT 2024


================
@@ -31345,7 +31392,8 @@ static SDValue LowerBITREVERSE(SDValue Op, const X86Subtarget &Subtarget,
   // If we have GFNI, we can use GF2P8AFFINEQB to reverse the bits.
   if (Subtarget.hasGFNI()) {
----------------
phoebewang wrote:

Do we need to check AVX/AVX512 feature here?

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


More information about the llvm-commits mailing list