[llvm] [clang] Adding support of AMDLIBM vector library (PR #78560)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 18 23:42:35 PST 2024


================
@@ -1279,6 +1281,213 @@ void TargetLibraryInfoImpl::addVectorizableFunctionsFromVecLib(
     }
     break;
   }
+  case AMDLIBM: {
+#define FIXED(NL) ElementCount::getFixed(NL)
+    const VecDesc VecFuncs[] = {
----------------
phoebewang wrote:

Move them to `VecFuncs.def`?

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


More information about the cfe-commits mailing list