[llvm-branch-commits] [llvm] RuntimeLibcalls: Add definitions for vector math functions (PR #167026)
Paul Walker via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Nov 10 05:13:29 PST 2025
================
@@ -182,10 +182,63 @@ foreach FPTy = ["F32", "F64", "F80", "F128", "PPCF128"] in {
def MODF_#FPTy : RuntimeLibcall;
}
-foreach VecTy = ["V4F32", "V2F64", "NXV4F32", "NXV2F64"] in {
- def MODF_#VecTy : RuntimeLibcall;
- def SINCOS_#VecTy : RuntimeLibcall;
- def SINCOSPI_#VecTy : RuntimeLibcall;
+defvar F32VectorSuffixes = ["V2F32", "V4F32", "V8F32", "V16F32", "NXV4F32"];
+defvar F64VectorSuffixes = ["V2F64", "V4F64", "V8F64", "NXV2F64"];
----------------
paulwalker-arm wrote:
What's gained from adding so many incomplete definitions though? This might cause a lot of churn as RuntimeLibcall capabilities that require many of these definitions to be updated? Does it hamper your progress if say a couple of each type is added instead?
https://github.com/llvm/llvm-project/pull/167026
More information about the llvm-branch-commits
mailing list