summaryrefslogtreecommitdiffstats
path: root/clang/docs/CommandGuide
diff options
context:
space:
mode:
authorZiang Wan <ziangw2@illinois.edu>2019-06-25 23:57:14 +0000
committerZiang Wan <ziangw2@illinois.edu>2019-06-25 23:57:14 +0000
commitde94ac9357750fdba45e09eefa8f67a650ae6a64 (patch)
tree58a313455c5dd893978df1e117f973b57e2ced00 /clang/docs/CommandGuide
parent17c18a9e8161f63beef42c7d99d63b1be6f7ed64 (diff)
downloadbcm5719-llvm-de94ac9357750fdba45e09eefa8f67a650ae6a64.tar.gz
bcm5719-llvm-de94ac9357750fdba45e09eefa8f67a650ae6a64.zip
print-supported-cpus quality of life patch.
Claim all input files so that clang does not give a warning. Add two short-cut aliases: -mcpu=? and -mtune=?. llvm-svn: 364362
Diffstat (limited to 'clang/docs/CommandGuide')
-rw-r--r--clang/docs/CommandGuide/clang.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index f511022dd77..7b0873600fc 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -330,6 +330,10 @@ number of cross compilers, or may only support a native target.
through --target=<architecture> or -arch <architecture>). If no target is
specified, the system default target will be used.
+.. option:: -mcpu=?, -mtune=?
+
+ Aliases of --print-supported-cpus
+
.. option:: -march=<cpu>
Specify that Clang should generate code for a specific processor family
OpenPOWER on IntegriCloud