[clang] [llvm] [RFC][MATHVEC] Introduce the LLVM's mathvec library as yet another veclib functions provider (PR #234621)

Paul Walker via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 26 08:54:19 PST 2026


paulwalker-arm wrote:

> > Can we link this to the wider availability of LLVM's runtime?
> > I feel users should not need to jump through hoops to enable something that comes with the compiler.
> 
> This goes far beyond the scope of this PR, and would require a refactor affecting other veclib providers too. This PR proposes approach no different than what glibc's libmvec introduced

I'm not suggesting we change anything affecting the existing veclib providers. I'm simply saying I'd rather not blindly follow the path taken for third-party libraries for the reasons stated.  Either the library is ready for production or it's not.  If you just want a way to beta test the vector functions then I think you only need LLVM support via `-mllvm --vector-library`.  Adding support to the driver implies something more official/permanent. 

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


More information about the cfe-commits mailing list