[clang] [flang] [Clang][Driver][fveclib] Fix target parsing for -fveclib=AMDLIBM option (PR #140544)
Rohit Aggarwal via cfe-commits
cfe-commits at lists.llvm.org
Tue May 20 03:00:41 PDT 2025
================
@@ -5844,7 +5844,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
Triple.getArch() != llvm::Triple::x86_64)
D.Diag(diag::err_drv_unsupported_opt_for_target)
<< Name << Triple.getArchName();
- } else if (Name == "libmvec") {
+ } else if (Name == "libmvec" || Name == "AMDLIBM") {
----------------
rohitaggarwal007 wrote:
#140533 is taking care of flang
https://github.com/llvm/llvm-project/pull/140544
More information about the cfe-commits
mailing list