[llvm] r271913 - [Kaleidoscope][BuildingAJIT] Clean up sentence, remove comments from code block.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 11:07:24 PDT 2016


Author: lhames
Date: Mon Jun  6 13:07:23 2016
New Revision: 271913

URL: http://llvm.org/viewvc/llvm-project?rev=271913&view=rev
Log:
[Kaleidoscope][BuildingAJIT] Clean up sentence, remove comments from code block.

Modified:
    llvm/trunk/docs/tutorial/BuildingAJIT2.rst

Modified: llvm/trunk/docs/tutorial/BuildingAJIT2.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/BuildingAJIT2.rst?rev=271913&r1=271912&r2=271913&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/BuildingAJIT2.rst (original)
+++ llvm/trunk/docs/tutorial/BuildingAJIT2.rst Mon Jun  6 13:07:23 2016
@@ -84,8 +84,8 @@ which sits on top of our CompileLayer.
 
 To initialize our OptimizeLayer we pass it a reference to the CompileLayer
 below (standard practice for layers), and we initialize the OptimizeFunction
-using a lambda. In the lambda, we just call out to the "optimizeModule" function
-that we will define below.
+using a lambda that calls out to an "optimizeModule" function that we will
+define below.
 
 .. code-block:: c++
 
@@ -101,8 +101,6 @@ that we will define below.
 .. code-block:: c++
 
   // ...
-  // Add the set to the JIT with the resolver we created above and a newly
-  // created SectionMemoryManager.
   return OptimizeLayer.addModuleSet(std::move(Ms),
                                     make_unique<SectionMemoryManager>(),
                                     std::move(Resolver));




More information about the llvm-commits mailing list