[PATCH] D51497: [WIP][ORC][ThinLTO] Early ThinLTO-JIT prototype and basic tests for next-gen ORC APIs

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 30 10:37:59 PDT 2018


sgraenitz created this revision.
sgraenitz added a reviewer: lhames.
Herald added subscribers: llvm-commits, jfb, dexonsmith, steven_wu, eraman, inglorion, mehdi_amini, mgorny.

Mimimal implementation that I could use to demonstrate speedups. Will add inline comments where I think this is not satisfying yet. Apart from that, what do you think? Do you have proposals for improvements?

Originally I wanted a real ThinLTOLayer with a proper ThinLTOLayerMaterializationUnit, integration with llvm::orc::lookup(), etc. So far I failed to get the SymbolFlags handling right, when passing the MaterializationResponsibility down to the underlying IRLayer. Would be great to fix that and upstream it, but it's no hurry.


Repository:
  rL LLVM

https://reviews.llvm.org/D51497

Files:
  include/llvm/ExecutionEngine/Orc/LLThinLTOJIT.h
  lib/ExecutionEngine/Orc/CMakeLists.txt
  lib/ExecutionEngine/Orc/LLThinLTOJIT.cpp
  unittests/ExecutionEngine/Orc/CMakeLists.txt
  unittests/ExecutionEngine/Orc/Inputs/Bar.cpp
  unittests/ExecutionEngine/Orc/Inputs/Bar.o
  unittests/ExecutionEngine/Orc/Inputs/Foo.cpp
  unittests/ExecutionEngine/Orc/Inputs/Foo.o
  unittests/ExecutionEngine/Orc/LLThinLTOJITTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51497.163370.patch
Type: text/x-patch
Size: 21441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180830/0d7dfa6f/attachment.bin>


More information about the llvm-commits mailing list