[clang] [llvm] [AArch64] Add __hvc, __svc and _InterlockedCompareExchangePointer_nf MS intrinsics (PR #202582)

Adhemerval Zanella via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 3 05:13:08 PDT 2026


================
@@ -72,6 +72,12 @@ def int_aarch64_break : Intrinsic<[], [llvm_i32_ty],
 def int_aarch64_hlt : Intrinsic<[], [llvm_i32_ty],
     [IntrNoMem, IntrHasSideEffects, IntrNoReturn, IntrCold, ImmArg<ArgIndex<0>>]>;
 
+def int_aarch64_hvc : Intrinsic<[], [llvm_i32_ty],
+    [IntrNoMem, IntrHasSideEffects, ImmArg<ArgIndex<0>>]>;
----------------
zatrazz wrote:

Right, I will double-check but you are probably right that IntrNoMem not the case here.

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


More information about the cfe-commits mailing list