summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-08-08 18:09:56 +0000
committerLang Hames <lhames@gmail.com>2016-08-08 18:09:56 +0000
commit96a2d57b756ac93a147262be732459101c1c6265 (patch)
treeaa3e86ba21757dfa45e667066312db3813740b52 /llvm/docs
parent772d11471c968d55ae362544eb7d0fa48a720be3 (diff)
downloadbcm5719-llvm-96a2d57b756ac93a147262be732459101c1c6265.tar.gz
bcm5719-llvm-96a2d57b756ac93a147262be732459101c1c6265.zip
[BuildingAJIT] Fix a couple of typos in the Chapter 3 draft.
llvm-svn: 278033
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/tutorial/BuildingAJIT3.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/docs/tutorial/BuildingAJIT3.rst b/llvm/docs/tutorial/BuildingAJIT3.rst
index fa197c59a6b..071e92c7454 100644
--- a/llvm/docs/tutorial/BuildingAJIT3.rst
+++ b/llvm/docs/tutorial/BuildingAJIT3.rst
@@ -19,14 +19,14 @@ CompileOnDemand layer the JIT from `Chapter 2 <BuildingAJIT2.html>`_.
Lazy Compilation
================
-When we add a module to the KaleidoscopeJIT class described in Chapter 2 it is
+When we add a module to the KaleidoscopeJIT class from Chapter 2 it is
immediately optimized, compiled and linked for us by the IRTransformLayer,
IRCompileLayer and ObjectLinkingLayer respectively. This scheme, where all the
-work to make a Module executable is done up front, is simple to understand its
-performance characteristics are easy to reason about. However, it will lead to
-very high startup times if the amount of code to be compiled is large, and may
-also do a lot of unnecessary compilation if only a few compiled functions are
-ever called at runtime. A truly "just-in-time" compiler should allow us to
+work to make a Module executable is done up front, is simple to understand and
+its performance characteristics are easy to reason about. However, it will lead
+to very high startup times if the amount of code to be compiled is large, and
+may also do a lot of unnecessary compilation if only a few compiled functions
+are ever called at runtime. A truly "just-in-time" compiler should allow us to
defer the compilation of any given function until the moment that function is
first called, improving launch times and eliminating redundant work. In fact,
the ORC APIs provide us with a layer to lazily compile LLVM IR:
OpenPOWER on IntegriCloud