[clang] [llvm] [AArch64] Add intrinsics for 9.6 crypto instructions (PR #165545)
Kerry McLaughlin via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 1 07:36:17 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:
I see, it does make sense to try and avoid running into a subtle error in the future.
How about adding an assert for `Proto != '4'`? That way we're not adding any changes we can't yet test, but we can hopefully make it obvious that this needs to be updated in the future if this does need to support other types?
https://github.com/llvm/llvm-project/pull/165545
More information about the cfe-commits
mailing list