[all-commits] [llvm/llvm-project] d5429a: [mlir][python] Add 'loc' property to ops

rk via All-commits all-commits at lists.llvm.org
Mon Oct 18 07:01:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5429a13da2b61b356f996a41ea314a1a1ce9076
      https://github.com/llvm/llvm-project/commit/d5429a13da2b61b356f996a41ea314a1a1ce9076
  Author: rkayaith <rkayaith at gmail.com>
  Date:   2021-10-18 (Mon, 18 Oct 2021)

  Changed paths:
    M mlir/include/mlir-c/IR.h
    M mlir/lib/Bindings/Python/IRCore.cpp
    M mlir/lib/CAPI/IR/IR.cpp
    M mlir/test/python/ir/operation.py

  Log Message:
  -----------
  [mlir][python] Add 'loc' property to ops

Add a read-only `loc` property to Operation and OpView

Reviewed By: ftynse

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




More information about the All-commits mailing list