[llvm] [TLI] Use AArch64 vector calling convention for ArmPL routines (PR #135790)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 15 07:54:57 PDT 2025
================
@@ -218,21 +218,21 @@ declare float @llvm.log10.f32(float) #0
; SLEEFGNUABI_RISCV: declare <vscale x 2 x double> @Sleef_sindx_u10rvvm2(<vscale x 2 x double>)
; SLEEFGNUABI_RISCV: declare <vscale x 4 x float> @Sleef_log10fx_u10rvvm2(<vscale x 4 x float>)
-; ARMPL: declare <2 x double> @armpl_vmodfq_f64(<2 x double>, ptr)
+; ARMPL: declare aarch64_vector_pcs <2 x double> @armpl_vmodfq_f64(<2 x double>, ptr)
; ARMPL: declare <vscale x 2 x double> @armpl_svmodf_f64_x(<vscale x 2 x double>, ptr, <vscale x 2 x i1>)
----------------
paulwalker-arm wrote:
This is not necessary because there isn't really a separate calling convention for SVE but rather it extends the normal one. `aarch64_sve_vector_pcs` is only needed when you want the call preservation of an SVE function when calling a function that does not have any SVE parameters or return.
https://github.com/llvm/llvm-project/pull/135790
More information about the llvm-commits
mailing list