[llvm] [AArch64][VecLib] Add vector function mappings for the modf, sincos, sincospi vector intrinsics (PR #175098)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 9 02:06:37 PST 2026


MacDue wrote:

> Are you also able to now completely remove the function getMultipleResultIntrinsicVectorLibCallCost from llvm/include/llvm/CodeGen/BasicTTIImpl.h? I believe that function only exists because the mappings weren't there previously and I don't think other targets depend upon it. The loop vectoriser should now take a different path when calculating the cost of vectorising a math call (it should now call getCallInstrCost instead of getVectorIntrinsicCost).

I don't think so. There's not struct-ret mappings for SLEEF or LIBMVEC yet, so they are still using the vector intrinsics (as can be seen in the tests for this PR). 

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


More information about the llvm-commits mailing list