[all-commits] [llvm/llvm-project] 9b6994: [ORC][examples] Fix file name in comment.

lhames via All-commits all-commits at lists.llvm.org
Fri Jun 18 18:52:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b699450dd66df258cb424470fcb1ea737a99341
      https://github.com/llvm/llvm-project/commit/9b699450dd66df258cb424470fcb1ea737a99341
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-06-19 (Sat, 19 Jun 2021)

  Changed paths:
    M llvm/examples/OrcV2Examples/OrcV2CBindingsBasicUsage/OrcV2CBindingsBasicUsage.c

  Log Message:
  -----------
  [ORC][examples] Fix file name in comment.


  Commit: 80f30a6b855b7aa96b99205c986972483d75822e
      https://github.com/llvm/llvm-project/commit/80f30a6b855b7aa96b99205c986972483d75822e
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-06-19 (Sat, 19 Jun 2021)

  Changed paths:
    M llvm/examples/OrcV2Examples/CMakeLists.txt
    A llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/CMakeLists.txt
    A llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/OrcV2CBindingsIRTransforms.c
    M llvm/include/llvm-c/LLJIT.h
    M llvm/include/llvm-c/Orc.h
    M llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  Log Message:
  -----------
  [ORC][C-bindings] Add access to LLJIT IRTransformLayer, ThreadSafeModule utils.

This patch was derived from Valentin Churavy's work in
https://reviews.llvm.org/D104480. It adds support for setting the transform on
an IRTransformLayer, and for accessing the IRTransformLayer in LLJIT. It also
adds access to the ThreadSafeModule::withModuleDo method for thread-safe
access to modules.

A new example has been added to show how to use these APIs to optimize a module
during materialization.

Thanks Valentin!

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D103855


Compare: https://github.com/llvm/llvm-project/compare/070556237e29...80f30a6b855b


More information about the All-commits mailing list