[llvm] [LLVM][VecLib] Refactor LIBMVEC integration to be target neutral. (PR #138262)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Fri May 2 06:03:58 PDT 2025
================
@@ -29,7 +29,7 @@ static cl::opt<TargetLibraryInfoImpl::VectorLibrary> ClVectorLibrary(
"Accelerate framework"),
clEnumValN(TargetLibraryInfoImpl::DarwinLibSystemM,
"Darwin_libsystem_m", "Darwin libsystem_m"),
- clEnumValN(TargetLibraryInfoImpl::LIBMVEC_X86, "LIBMVEC-X86",
+ clEnumValN(TargetLibraryInfoImpl::LIBMVEC, "LIBMVEC",
----------------
MacDue wrote:
I think this needs changes in clang too as "LIBMVEC" is currently mapped to "LIBMVEC-X86":
https://github.com/llvm/llvm-project/blob/7d01b85c2a0aa8bc91f731cfeb2a7b6885b8d04a/clang/lib/Driver/ToolChains/CommonArgs.cpp#L932-L937
https://github.com/llvm/llvm-project/pull/138262
More information about the llvm-commits
mailing list