| commit | 7bd8970743f45a006b8f12c97aac92999f41b2c0 | [log] [tgz] |
|---|---|---|
| author | Lang Hames <lhames@gmail.com> | Thu Jul 05 19:01:27 2018 +0000 |
| committer | Lang Hames <lhames@gmail.com> | Thu Jul 05 19:01:27 2018 +0000 |
| tree | fa7f5a43c3b96be98847d85159c3a3f169e9055c | |
| parent | 734cfd11fe2a9ebb75e79cee878d5fed9eef9c43 [diff] |
[ORC] In CompileOnDemandLayer2, clone modules on to different contexts by writing them to a buffer and re-loading them. Also introduces a multithreaded variant of SimpleCompiler (MultiThreadedSimpleCompiler) for compiling IR concurrently on multiple threads. These changes are required to JIT IR on multiple threads correctly. No test case yet. I will be looking at how to modify LLI / LLJIT to test multithreaded JIT support soon. llvm-svn: 336385