[all-commits] [llvm/llvm-project] a207e6: [flang] add fveclib flag (#71734)

Tom Eccles via All-commits all-commits at lists.llvm.org
Mon Nov 13 02:05:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a207e6307a589d482fd11c1aac17507c6eabc802
      https://github.com/llvm/llvm-project/commit/a207e6307a589d482fd11c1aac17507c6eabc802
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CMakeLists.txt
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/lib/Tooling/DumpTool/ClangSrcLocDump.cpp
    M flang/include/flang/Frontend/CodeGenOptions.def
    M flang/include/flang/Frontend/CodeGenOptions.h
    M flang/lib/Frontend/CMakeLists.txt
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/test/Driver/driver-help-hidden.f90
    M flang/test/Driver/driver-help.f90
    A flang/test/Driver/fveclib-codegen.f90
    A flang/test/Driver/fveclib.f90
    A llvm/include/llvm/Frontend/Driver/CodeGenOptions.h
    M llvm/lib/Frontend/CMakeLists.txt
    A llvm/lib/Frontend/Driver/CMakeLists.txt
    A llvm/lib/Frontend/Driver/CodeGenOptions.cpp

  Log Message:
  -----------
  [flang] add fveclib flag (#71734)

-fveclib= allows users to choose a vectorized libm so that loops
containing math functions are vectorized.

This is implemented as much as possible in the same way as in clang. The
driver test in veclib.f90 is copied from the clang test.




More information about the All-commits mailing list