[flang-commits] [compiler-rt] [flang] [llvm] [AArch64] fix trampoline implementation: use X15 (PR #126743)
Eli Friedman via flang-commits
flang-commits at lists.llvm.org
Fri Feb 28 12:50:41 PST 2025
================
@@ -117,16 +123,12 @@ defvar AArch64_Common = [
];
let Entry = 1 in
-def CC_AArch64_AAPCS : CallingConv<!listconcat(
- // The 'nest' parameter, if any, is passed in X18.
- // Darwin and Windows use X18 as the platform register and hence 'nest' isn't
- // currently supported there.
- [CCIfNest<CCAssignToReg<[X18]>>],
- AArch64_Common
-)>;
+def CC_AArch64_AAPCS : CallingConv<AArch64_Common>;
let Entry = 1 in
def RetCC_AArch64_AAPCS : CallingConv<[
+ CCIfNest<CCAssignToReg<[X15]>>,
----------------
efriedma-quic wrote:
A return value can't be "nest"?
https://github.com/llvm/llvm-project/pull/126743
More information about the flang-commits
mailing list