[all-commits] [llvm/llvm-project] 23d7a6: [flang][Driver] Support -print-supported-cpus and ...

Tarun Prabhu via All-commits all-commits at lists.llvm.org
Fri Nov 22 10:57:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23d7a6cedb5198535086a67586487f19effbd411
      https://github.com/llvm/llvm-project/commit/23d7a6cedb5198535086a67586487f19effbd411
  Author: Tarun Prabhu <tarun at lanl.gov>
  Date:   2024-11-22 (Fri, 22 Nov 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/FrontendOptions.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    A flang/test/Driver/print-supported-cpus.f90
    M flang/tools/flang-driver/fc1_main.cpp

  Log Message:
  -----------
  [flang][Driver] Support -print-supported-cpus and associated aliases (#117199)

The aliases are -mcpu=help and -mtune=help. There is still an issue with
the output which prints an example line that references clang. That is
not fixed here because it is printed in llvm/MC/SubtargetInfo.cpp. Some
more thought is needed to determine how best to handle this.

Fixes #117010



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