[clang] [AArch64] Add soft-float ABI (PR #74460)

David Green via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 11:48:22 PST 2023


================
@@ -534,7 +540,8 @@ Address AArch64ABIInfo::EmitAAPCSVAArg(Address VAListAddr, QualType Ty,
     BaseTy = ArrTy->getElementType();
     NumRegs = ArrTy->getNumElements();
   }
-  bool IsFPR = BaseTy->isFloatingPointTy() || BaseTy->isVectorTy();
+  bool IsFPR = Kind == AArch64ABIKind::AAPCS &&
----------------
davemgreen wrote:

Could this be Kind != AArch64ABIKind::AAPCS` in case other ABIKinds make their way here.

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


More information about the cfe-commits mailing list