[all-commits] [llvm/llvm-project] fb166b: [Driver] Revert -mcpu=?/-mtune=? and make -mcpu=he...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Feb 28 12:06:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb166b44f9332b2b4365b90ee3ec95cfce9c0ad5
      https://github.com/llvm/llvm-project/commit/fb166b44f9332b2b4365b90ee3ec95cfce9c0ad5
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/print-supported-cpus.c

  Log Message:
  -----------
  [Driver] Revert -mcpu=?/-mtune=? and make -mcpu=help/-mtune=help unnamed

Follow-up to D144914.
-mcpu=help seems fine as a Clang extension not in GCC, because llc supports -mcpu=help.
-mcpu=? is a bad choice as ? may be expanded by the shell.




More information about the All-commits mailing list