[llvm] [TLI] Add glibc 2.35 libmvec vector functions to the x86 table (PR #223817)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 01:02:36 PDT 2026


================
@@ -287,6 +287,160 @@ TLI_DEFINE_VECFUNC("atanh", "_ZGVdN4v_atanh", FIXED(4), "_ZGV_LLVM_N4v")
 TLI_DEFINE_VECFUNC("atanhf", "_ZGVbN4v_atanhf", FIXED(4), "_ZGV_LLVM_N4v")
 TLI_DEFINE_VECFUNC("atanhf", "_ZGVdN8v_atanhf", FIXED(8), "_ZGV_LLVM_N8v")
 
+// glibc 2.35 added vector variants for these; VecFuncs.def has not
+// listed them for x86 yet, so -fveclib=libmvec cannot use them even on a
----------------
Andarwinux wrote:

You don't need to be so wordy, just point out llvm.* variants are needed due to LLVM intrinsics, everything else is unnecessary.

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


More information about the llvm-commits mailing list