[clang] 94efdff - [AArch64][RISCV] Document option --print-supported-extensions (#98698)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 15 08:06:11 PDT 2024
Author: Jonathan Thackray
Date: 2024-07-15T16:06:07+01:00
New Revision: 94efdff84a8f6d52915b90b705fe991f4888c544
URL: https://github.com/llvm/llvm-project/commit/94efdff84a8f6d52915b90b705fe991f4888c544
DIFF: https://github.com/llvm/llvm-project/commit/94efdff84a8f6d52915b90b705fe991f4888c544.diff
LOG: [AArch64][RISCV] Document option --print-supported-extensions (#98698)
Add documentation for the `--print-supported-extensions`
option which appears to be missing at present.
Added:
Modified:
clang/docs/CommandGuide/clang.rst
Removed:
################################################################################
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index a348f3640c5eb..29154292dc7a5 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -400,6 +400,14 @@ number of cross compilers, or may only support a native target.
option is only supported on AArch64 and RISC-V. On RISC-V, this option also
prints out the ISA string of enabled extensions.
+.. option:: --print-supported-extensions
+
+ Prints the list of all extensions that are supported for every CPU target
+ for an architecture (specified through ``--target=<architecture>`` or
+ :option:`-arch` ``<architecture>``). If no target is specified, the system
+ default target will be used. Currently, this option is only supported on
+ AArch64 and RISC-V.
+
Code Generation Options
~~~~~~~~~~~~~~~~~~~~~~~
More information about the cfe-commits
mailing list