[all-commits] [llvm/llvm-project] f05ff4: [mlir][python] Apply py::module_local() to all cla...

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Mon Aug 30 22:19:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f05ff4f7570ca009f22f5e2fe8c6361f28faaa8a
      https://github.com/llvm/llvm-project/commit/f05ff4f7570ca009f22f5e2fe8c6361f28faaa8a
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M mlir/lib/Bindings/Python/ExecutionEngineModule.cpp
    M mlir/lib/Bindings/Python/IRAffine.cpp
    M mlir/lib/Bindings/Python/IRAttributes.cpp
    M mlir/lib/Bindings/Python/IRCore.cpp
    M mlir/lib/Bindings/Python/MainModule.cpp
    M mlir/lib/Bindings/Python/Pass.cpp

  Log Message:
  -----------
  [mlir][python] Apply py::module_local() to all classes.

* This allows multiple MLIR-API embedding downstreams to co-exist in the same process.
* I believe this is the last thing needed to enable isolated embedding.

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




More information about the All-commits mailing list