[llvm] [AArch64][GlobalISel] Implement selectVaStartAAPCS (PR #106979)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 2 08:01:19 PDT 2024


================
@@ -1994,7 +1994,108 @@ bool AArch64InstructionSelector::selectVectorAshrLshr(
 
 bool AArch64InstructionSelector::selectVaStartAAPCS(
     MachineInstr &I, MachineFunction &MF, MachineRegisterInfo &MRI) const {
-  return false;
+
+  if (MF.getSubtarget<AArch64Subtarget>().isCallingConvWin64(
+          MF.getFunction().getCallingConv(), MF.getFunction().isVarArg()))
----------------
tschuett wrote:

The test is from:
https://github.com/llvm/llvm-project/blob/4a505e15e768011e47101cf9aeb0c7787fdc9acf/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp#L11217

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


More information about the llvm-commits mailing list