[clang] [llvm] [AArch64] Add intrinsics for 9.6 crypto instructions (PR #165545)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 07:17:08 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;
----------------
Lukacma wrote:

Well, you are right about that. I just thought since I am adding multi-vector behaviour support, I might add it properly in case it is needed in the future. Another reason for doing it this way now is that, incorrectly setting this will result in failure with non-obvious runtime error, which is time consuming to debug so I thought to preempt that. But if you think it is a bad idea to add it I can remove it.    

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


More information about the llvm-commits mailing list