summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/docs/CommandLine.rst2
-rw-r--r--llvm/docs/LangRef.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/CommandLine.rst b/llvm/docs/CommandLine.rst
index 34bee934ce9..7c804d42c35 100644
--- a/llvm/docs/CommandLine.rst
+++ b/llvm/docs/CommandLine.rst
@@ -1294,7 +1294,7 @@ it cannot be guaranteed that all options will have been initialised. Hence it
should be called from ``main``.
This function can be used to gain access to options declared in libraries that
-the tool writter may not have direct access to.
+the tool writer may not have direct access to.
The function retrieves a :ref:`StringMap <dss_stringmap>` that maps the option
string (e.g. ``-help``) to an ``Option*``.
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index b5bc2949192..41316d1dd8c 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -421,7 +421,7 @@ added in the future:
This calling convention aims to minimize overhead in the caller by
preserving as many registers as possible (all the registers that are
- perserved on the fast path, composed of the entry and exit blocks).
+ preserved on the fast path, composed of the entry and exit blocks).
This calling convention behaves identical to the `C` calling convention on
how arguments and return values are passed, but it uses a different set of
OpenPOWER on IntegriCloud