[llvm] [RISCV][SLEEF]: Support SLEEF vector library for RISC-V target. (PR #114014)

Mark Goncharov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 23:16:41 PST 2024


================
@@ -1371,6 +1379,9 @@ void TargetLibraryInfoImpl::addVectorizableFunctionsFromVecLib(
       addVectorizableFunctions(VecFuncs_SLEEFGNUABI_VF4);
       addVectorizableFunctions(VecFuncs_SLEEFGNUABI_VFScalable);
       break;
+    case llvm::Triple::riscv64:
+      addVectorizableFunctions(VecFuncs_SKEEFGNUABI_VFScalableRISCV);
----------------
mga-sc wrote:

Sorry, a typo in two relevant places. Fixed

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


More information about the llvm-commits mailing list