[llvm] langref updates for aarch64 trampoline (PR #139740)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Tue May 13 14:06:30 PDT 2025


================
@@ -410,8 +410,9 @@ added in the future:
       calling convention: on most platforms, they are not preserved and need to
       be saved by the caller, but on Windows, xmm6-xmm15 are preserved.
 
-    - On AArch64 the callee preserve all general purpose registers, except X0-X8
-      and X16-X18.
+    - On AArch64 the callee preserve all general purpose registers, except
+      X0-X8 and X16-X18. Using this calling convention with nest is forbidden
+      and may crash llvm.
----------------
efriedma-quic wrote:

Please don't put "may crash llvm".  That's not contractual: it's a bug if we crash instead of printing a proper error message.

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


More information about the llvm-commits mailing list