[llvm] 8ae31b0 - Reformulate OrcJIT tutorial doc to make it more clear.

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 13 22:48:12 PDT 2021


Author: Yuichi Yoshida
Date: 2021-07-14T05:48:01Z
New Revision: 8ae31b08d9da5f42dd149eb48ef3e3baae2d1b07

URL: https://github.com/llvm/llvm-project/commit/8ae31b08d9da5f42dd149eb48ef3e3baae2d1b07
DIFF: https://github.com/llvm/llvm-project/commit/8ae31b08d9da5f42dd149eb48ef3e3baae2d1b07.diff

LOG: 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

Added: 
    

Modified: 
    llvm/docs/tutorial/BuildingAJIT2.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/tutorial/BuildingAJIT2.rst b/llvm/docs/tutorial/BuildingAJIT2.rst
index ee4e6916ecbc6..48478f3c0cece 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


        


More information about the llvm-commits mailing list