[all-commits] [llvm/llvm-project] cb9683: [Clang][Flang][Driver] Fix target parsing for -fve...

Paul Walker via All-commits all-commits at lists.llvm.org
Tue May 6 03:57:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb9683fad12101417a46b35452cb23dfb7c6c367
      https://github.com/llvm/llvm-project/commit/cb9683fad12101417a46b35452cb23dfb7c6c367
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/test/Driver/fveclib.c
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/Driver/fveclib-codegen.f90
    M flang/test/Driver/fveclib.f90

  Log Message:
  -----------
  [Clang][Flang][Driver] Fix target parsing for -fveclib=libmvec option. (#138288)

There are various places where the -fveclib option is parsed to
determine whether its value is correct for the target. Unfortunately
these places assume case-insensitivity and subsequently use "LIBMVEC"
where the driver mandates "libmvec", thus rendering the diagnosistic
useless.

This PR corrects the naming along with similar incorrect uses within the
test files.



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