[clang] [llvm] [AArch64] Add intrinsics for 9.6 crypto instructions (PR #165545)
Kerry McLaughlin via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 1 06:39:18 PST 2025
================
@@ -272,9 +272,16 @@ class Intrinsic {
Proto[I] == 'R' || Proto[I] == '@' || Proto[I] == '!')
break;
+ if (Proto[I] == '2')
+ Param += 1;
+ if (Proto[I] == '4')
+ Param += 3;
----------------
kmclaughlin-arm wrote:
Sorry I didn't spot this before, but looking at the tests above it seems like only the `pmull_pair_n` & `pmlal_pair_n` builtins take a splat operand. Since they both only have `x2` variants, I'm wondering if handling the `x4` case can be removed from this patch (and possibly the adjustment to `Param` below)?
https://github.com/llvm/llvm-project/pull/165545
More information about the llvm-commits
mailing list