diff options
author | Lang Hames <lhames@gmail.com> | 2018-10-15 22:36:22 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-10-15 22:36:22 +0000 |
commit | 9f342d90382fce7473087f61491db21c81bede0a (patch) | |
tree | 9e409c8b2b7722ad01f665c62b5afe2cc5b51748 /llvm/lib | |
parent | 8f9a2446e0272b4661bca3d0a593348132365dba (diff) | |
download | bcm5719-llvm-9f342d90382fce7473087f61491db21c81bede0a.tar.gz bcm5719-llvm-9f342d90382fce7473087f61491db21c81bede0a.zip |
[ORC] Rename MultiThreadedSimpleCompiler to ConcurrentIRCompiler.
The new name is a better fit: This class does not actually spawn any new
threads for compilation, it is just safe to call from multiple threads
concurrently.
The "Simple" part of the name did not convey much either, so it was
dropped.
llvm-svn: 344567
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/LLJIT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp b/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp index 39bb4c48067..478ac2e2148 100644 --- a/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp +++ b/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp @@ -96,7 +96,7 @@ LLJIT::LLJIT(std::unique_ptr<ExecutionSession> ES, JITTargetMachineBuilder JTMB, ObjLinkingLayer(*this->ES, [this](VModuleKey K) { return getMemoryManager(K); }), CompileLayer(*this->ES, ObjLinkingLayer, - MultiThreadedSimpleCompiler(std::move(JTMB))), + ConcurrentIRCompiler(std::move(JTMB))), CtorRunner(Main), DtorRunner(Main) { assert(NumCompileThreads != 0 && "Multithreaded LLJIT instance can not be created with 0 threads"); |