[AArch64] Fix x18 being used by nest ptrs with MSVC ABI (#68008)
This patch fixes an issue where x18 is used for passing pointer parameters with the nest attribute on Windows on AArch64. The x18 register is reserved in the WoA ABI so can't be used for this purpose. This is fixed by introducing a new Win64PCS calling convention that differs from the standard AAPCS only by not using x18 for nest parameters.
Loading
Please sign in to comment