[llvm-branch-commits] [llvm] [AArch64] Use the Win64 calling convention and va_list on UEFI (PR #233640)

Prabhu Rajasekaran via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Oct 20 15:48:17 PDT 2026


================
@@ -574,9 +574,9 @@ def CC_AArch64_Preserve_None : CallingConv<[
                                  X12, X13, X14, X9]>>,
 
   // Windows uses X15 for stack allocation
-  CCIf<"!State.getMachineFunction().getSubtarget<AArch64Subtarget>().isTargetWindows()",
+  CCIf<"!State.getMachineFunction().getSubtarget<AArch64Subtarget>().isTargetWindowsOrUEFI()",
----------------
Prabhuk wrote:

Thank you. I'll send out follow up PRs to address test gaps.

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


More information about the llvm-branch-commits mailing list