[llvm] d6eb42e - [docs] Document `-mtriple` option in opt command guide (NFC) (#213942)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 24 00:19:56 PDT 2026
Author: Antonio Frighetto
Date: 2026-08-24T09:19:51+02:00
New Revision: d6eb42eaa89b5f14efee07e7ed1a8f3ac26506c7
URL: https://github.com/llvm/llvm-project/commit/d6eb42eaa89b5f14efee07e7ed1a8f3ac26506c7
DIFF: https://github.com/llvm/llvm-project/commit/d6eb42eaa89b5f14efee07e7ed1a8f3ac26506c7.diff
LOG: [docs] Document `-mtriple` option in opt command guide (NFC) (#213942)
`-mtriple` option has been supported for a long time, but previously
lacked documentation.
Added:
Modified:
llvm/docs/CommandGuide/opt.rst
Removed:
################################################################################
diff --git a/llvm/docs/CommandGuide/opt.rst b/llvm/docs/CommandGuide/opt.rst
index c15f7ec05b712..bda749f902a16 100644
--- a/llvm/docs/CommandGuide/opt.rst
+++ b/llvm/docs/CommandGuide/opt.rst
@@ -53,6 +53,11 @@ OPTIONS
`invoking opt <../NewPassManager.html#invoking-opt>`_ for more details on the
pass pipeline syntax.
+.. option:: -mtriple=<target triple>
+
+ Override the target triple specified in the input file with the specified
+ string.
+
.. option:: -mtune=<cpuname>
Specify a specific chip microarchitecture in the current architecture
More information about the llvm-commits
mailing list