[all-commits] [llvm/llvm-project] 3137c2: Add initial python bindings for attributes.

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Sun Aug 23 22:18:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3137c299269dd758c4c1630dc0c4621a1137eb7c
      https://github.com/llvm/llvm-project/commit/3137c299269dd758c4c1630dc0c4621a1137eb7c
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2020-08-23 (Sun, 23 Aug 2020)

  Changed paths:
    M mlir/include/mlir-c/IR.h
    M mlir/lib/Bindings/Python/IRModules.cpp
    M mlir/lib/Bindings/Python/IRModules.h
    M mlir/lib/Bindings/Python/PybindUtils.cpp
    M mlir/lib/Bindings/Python/PybindUtils.h
    A mlir/test/Bindings/Python/ir_attributes.py
    M mlir/test/Bindings/Python/ir_types.py

  Log Message:
  -----------
  Add initial python bindings for attributes.

* Generic mlir.ir.Attribute class.
* First standard attribute (mlir.ir.StringAttr), following the same pattern as generic vs standard types.
* NamedAttribute class.

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




More information about the All-commits mailing list