aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorYuichi Yoshida <yoshida.yuichi@gmail.com>2021-07-14 05:47:31 +0000
committerMehdi Amini <joker.eph@gmail.com>2021-07-14 05:48:01 +0000
commit8ae31b08d9da5f42dd149eb48ef3e3baae2d1b07 (patch)
treebb0a34485dd9895d8e9dc2887ea34fce2c3e4c9f /llvm/docs/tutorial
parent08cf69c31f849310ec45945d18f0feef4ea8f2e6 (diff)
downloadllvm-8ae31b08d9da5f42dd149eb48ef3e3baae2d1b07.zip
llvm-8ae31b08d9da5f42dd149eb48ef3e3baae2d1b07.tar.gz
llvm-8ae31b08d9da5f42dd149eb48ef3e3baae2d1b07.tar.bz2
Reformulate OrcJIT tutorial doc to make it more clear.
Fixed a minor writing error. The text was hard to understand. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D105899
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/BuildingAJIT2.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/tutorial/BuildingAJIT2.rst b/llvm/docs/tutorial/BuildingAJIT2.rst
index ee4e691..48478f3 100644
--- a/llvm/docs/tutorial/BuildingAJIT2.rst
+++ b/llvm/docs/tutorial/BuildingAJIT2.rst
@@ -224,9 +224,9 @@ Most layers that derived from IRLayer can rely on this default implementation
of the ``add`` method.
These two operations, ``add`` and ``emit``, together constitute the layer
-concept: A layer is a way to wrap a portion of a compiler pipeline (in this case
-the "opt" phase of an LLVM compiler) whose API is is opaque to ORC in an
-interface that allows ORC to invoke it when needed. The add method takes an
+concept: A layer is a way to wrap a part of a compiler pipeline (in this case
+the "opt" phase of an LLVM compiler) whose API is opaque to ORC with an
+interface that ORC can call as needed. The add method takes an
module in some input program representation (in this case an LLVM IR module) and
stores it in the target JITDylib, arranging for it to be passed back to the
Layer's emit method when any symbol defined by that module is requested. Layers