[all-commits] [llvm/llvm-project] 54f2b4: [Clang][Driver][fveclib] Fix target parsing for -f...

Rohit Aggarwal via All-commits all-commits at lists.llvm.org
Tue May 20 05:35:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54f2b45c98c6f5ea4767b9a58930d634d8e95da6
      https://github.com/llvm/llvm-project/commit/54f2b45c98c6f5ea4767b9a58930d634d8e95da6
  Author: Rohit Aggarwal <44664450+rohitaggarwal007 at users.noreply.github.com>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/fveclib.c
    M llvm/include/llvm/Frontend/Driver/CodeGenOptions.h

  Log Message:
  -----------
  [Clang][Driver][fveclib] Fix target parsing for -fveclib=AMDLIBM option (#140544)

The behavior of -fveclib=AMDLIBM should be similar to -fveclib=libmvec. 
Example - Error message for unsupported target usage should be same.

We are handling the missed cases for -fveclib=AMDLIBM and aligning it to
-fveclib=libmvec usage.

---------

Co-authored-by: Rohit Aggarwal <Rohit.Aggarwal at amd.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list