[all-commits] [llvm/llvm-project] 436c6c: NFC: Break up the mlir python bindings into indivi...

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Fri Mar 19 13:34:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 436c6c9c20cc522c92a923440a5fc509c342a7db
      https://github.com/llvm/llvm-project/commit/436c6c9c20cc522c92a923440a5fc509c342a7db
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2021-03-19 (Fri, 19 Mar 2021)

  Changed paths:
    M mlir/lib/Bindings/Python/CMakeLists.txt
    M mlir/lib/Bindings/Python/ExecutionEngine.cpp
    A mlir/lib/Bindings/Python/IRAffine.cpp
    A mlir/lib/Bindings/Python/IRAttributes.cpp
    A mlir/lib/Bindings/Python/IRCore.cpp
    A mlir/lib/Bindings/Python/IRModule.h
    R mlir/lib/Bindings/Python/IRModules.cpp
    R mlir/lib/Bindings/Python/IRModules.h
    A mlir/lib/Bindings/Python/IRTypes.cpp
    M mlir/lib/Bindings/Python/MainModule.cpp
    M mlir/lib/Bindings/Python/Pass.cpp

  Log Message:
  -----------
  NFC: Break up the mlir python bindings into individual sources.

* IRModules.cpp -> (IRCore.cpp, IRAffine.cpp, IRAttributes.cpp, IRTypes.cpp).
* The individual pieces now compile in the 5-15s range whereas IRModules.cpp was starting to approach a minute (didn't capture a before time).
* More fine grained splitting is possible, but this represents the most obvious.

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




More information about the All-commits mailing list