[all-commits] [llvm/llvm-project] 33df61: [mlir] Quality of life improvements to python API ...

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Mon Sep 18 21:30:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33df617dfda3298730ccadb44c69ccffe84c8716
      https://github.com/llvm/llvm-project/commit/33df617dfda3298730ccadb44c69ccffe84c8716
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M mlir/lib/Bindings/Python/IRCore.cpp
    M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
    M mlir/python/mlir/_mlir_libs/_mlir/passmanager.pyi

  Log Message:
  -----------
  [mlir] Quality of life improvements to python API types. (#66723)

* Moves several orphaned methods from Operation/OpView -> _OperationBase
so that both hierarchies share them (whether unknown or known to ODS).
* Adds typing information for missing `MLIRError` exception.
* Adds `DiagnosticInfo` typing.
* Adds `DenseResourceElementsAttr` typing that was missing.




More information about the All-commits mailing list