@@ -6028,24 +6028,12 @@ def target : Joined<["--"], "target=">, Flags<[NoXarchOption]>,
60286028def darwin_target_variant : Separate<["-"], "darwin-target-variant">,
60296029 Flags<[NoXarchOption]>, Visibility<[ClangOption, CLOption]>,
60306030 HelpText<"Generate code for an additional runtime variant of the deployment target">;
6031-
6032- //===----------------------------------------------------------------------===//
6033- // Print CPU info options (clang, clang-cl, flang)
6034- //===----------------------------------------------------------------------===//
6035-
6036- let Visibility = [ClangOption, CC1Option, CLOption, FlangOption, FC1Option] in {
6037-
60386031def print_supported_cpus : Flag<["-", "--"], "print-supported-cpus">,
60396032 Group<CompileOnly_Group>,
6040- HelpText<"Print supported cpu models for the given target (if target is not "
6041- "specified,it will print the supported cpus for the default target)">,
6033+ Visibility<[ClangOption, CC1Option, CLOption]>,
6034+ HelpText<"Print supported cpu models for the given target (if target is not specified,"
6035+ " it will print the supported cpus for the default target)">,
60426036 MarshallingInfoFlag<FrontendOpts<"PrintSupportedCPUs">>;
6043-
6044- def : Flag<["-"], "mcpu=help">, Alias<print_supported_cpus>;
6045- def : Flag<["-"], "mtune=help">, Alias<print_supported_cpus>;
6046-
6047- } // let Visibility = [ClangOption, CC1Option, CLOption, FlangOption, FC1Option]
6048-
60496037def print_supported_extensions : Flag<["-", "--"], "print-supported-extensions">,
60506038 Visibility<[ClangOption, CC1Option, CLOption]>,
60516039 HelpText<"Print supported -march extensions (RISC-V, AArch64 and ARM only)">,
@@ -6055,6 +6043,8 @@ def print_enabled_extensions : Flag<["-", "--"], "print-enabled-extensions">,
60556043 HelpText<"Print the extensions enabled by the given target and -march/-mcpu options."
60566044 " (AArch64 and RISC-V only)">,
60576045 MarshallingInfoFlag<FrontendOpts<"PrintEnabledExtensions">>;
6046+ def : Flag<["-"], "mcpu=help">, Alias<print_supported_cpus>;
6047+ def : Flag<["-"], "mtune=help">, Alias<print_supported_cpus>;
60586048def time : Flag<["-"], "time">,
60596049 HelpText<"Time individual commands">;
60606050def traditional_cpp : Flag<["-", "--"], "traditional-cpp">,
0 commit comments