[llvm] RuntimeLibcalls: Add definitions for vector math functions (PR #167026)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 19 03:44:50 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"];
----------------
RKSimon wrote:
Can you confirm what your plan is for remerging these back with VecFuncs.def? The current graphite stack doesn't appear to show how you're intending to start handling masking / ISA levels etc.
https://github.com/llvm/llvm-project/pull/167026
More information about the llvm-commits
mailing list