diff options
author | shivaramaarao <58245296+shivaramaarao@users.noreply.github.com> | 2025-05-20 14:08:35 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-20 01:38:35 -0700 |
commit | 32a1b6a70b3ec9066dd70ccf538f735a5c58e031 (patch) | |
tree | da93a17f566561a300e0b5b533bac4d297314768 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 57aa7fa6ed64394ecd7d68fe34984b89778f319b (diff) | |
download | llvm-32a1b6a70b3ec9066dd70ccf538f735a5c58e031.zip llvm-32a1b6a70b3ec9066dd70ccf538f735a5c58e031.tar.gz llvm-32a1b6a70b3ec9066dd70ccf538f735a5c58e031.tar.bz2 |
[flang][veclib] Adding AMDLIBM target to fveclib (#140533)
This commit adds AMDLIBM support to fveclib targets. The support is
already present in clang and this patch extends it to flang.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | flang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp index 238079a..b6c3771 100644 --- a/flang/lib/Frontend/CompilerInvocation.cpp +++ b/flang/lib/Frontend/CompilerInvocation.cpp @@ -201,6 +201,7 @@ static bool parseVectorLibArg(Fortran::frontend::CodeGenOptions &opts, .Case("SLEEF", VectorLibrary::SLEEF) .Case("Darwin_libsystem_m", VectorLibrary::Darwin_libsystem_m) .Case("ArmPL", VectorLibrary::ArmPL) + .Case("AMDLIBM", VectorLibrary::AMDLIBM) .Case("NoLibrary", VectorLibrary::NoLibrary) .Default(std::nullopt); if (!val.has_value()) { |