[llvm] [AArch64][ISel] Add lowering for i8 clmul intrinsics (PR #177323)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 22 07:23:55 PST 2026


================
@@ -1323,6 +1323,11 @@ def fminnum_nnan : PatFrag<(ops node:$Rn, node:$Rm),
   return N->getFlags().hasNoNaNs();
   }]>;
 
+def pmul_or_clmul : PatFrags<(ops node:$Rn, node:$Rm),
+                             [(int_aarch64_neon_pmul node:$Rn, node:$Rm),
----------------
davemgreen wrote:

I think if we wanted to do that at a higher level, we could replace the intrinsic in clang (and add AutoUpgrade code for turning old aarch64.neon.pmul into llvm.clmul). The aarch64.neon.pmul intrinsics could then be removed.

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


More information about the llvm-commits mailing list