Skip to content

Commit 9433476

Browse files
committed
Mention the required GLIBC version in help and release note
1 parent 158eb6d commit 9433476

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3487,7 +3487,8 @@ def fno_experimental_isel : Flag<["-"], "fno-experimental-isel">, Group<f_clang_
34873487
Alias<fno_global_isel>;
34883488
def fveclib : Joined<["-"], "fveclib=">, Group<f_Group>,
34893489
Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
3490-
HelpText<"Use the given vector functions library">,
3490+
HelpText<"Use the given vector functions library.\n"
3491+
" Note: -fveclib=libmvec on AArch64 requires GLIBC 2.40 or newer.">,
34913492
HelpTextForVariants<[ClangOption, CC1Option],
34923493
"Use the given vector functions library.\n"
34933494
" Note: -fveclib={ArmPL,SLEEF,libmvec} implies -fno-math-errno.\n"

flang/docs/ReleaseNotes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ page](https://llvm.org/releases/).
3434

3535
* -floop-interchange is now recognized by flang.
3636
* -floop-interchange is enabled by default at -O2 and above.
37-
* -fveclib=libmvec is supported for AArch64 (same as Flang/x86 and Clang/AArch64)
37+
* -fveclib=libmvec is supported for AArch64 (same as Flang/x86 and
38+
Clang/AArch64) (requires GLIBC 2.40 or newer)
3839

3940
## Windows Support
4041

0 commit comments

Comments
 (0)