[flang-commits] [clang] [flang] [Flang][AArch64][VecLib] Add libmvec support for Flang/AArch64 (PR #146453)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Tue Jul 1 06:52:05 PDT 2025


================
@@ -3487,7 +3487,8 @@ def fno_experimental_isel : Flag<["-"], "fno-experimental-isel">, Group<f_clang_
   Alias<fno_global_isel>;
 def fveclib : Joined<["-"], "fveclib=">, Group<f_Group>,
   Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
-    HelpText<"Use the given vector functions library">,
+    HelpText<"Use the given vector functions library.\n"
+             "  Note: -fveclib=libmvec on AArch64 requires GLIBC 2.40 or newer.">,
----------------
tarunprabhu wrote:

Is the constraint on `glibc` >=2.40 true for `clang` as well? What happens if the user attempts to build with an older `glibc`? Will they see a configure-time error or will the build fail?

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


More information about the flang-commits mailing list