[all-commits] [llvm/llvm-project] d9343e: [mlir][python] Function decorator for capturing a ...

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


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

  Changed paths:
    M mlir/lib/Bindings/Python/mlir/dialects/_builtin_ops_ext.py
    M mlir/test/Bindings/Python/dialects/builtin.py
    M mlir/test/Bindings/Python/dialects/linalg/opdsl/emit_structured_generic.py

  Log Message:
  -----------
  [mlir][python] Function decorator for capturing a FuncOp from a python function.

* Moves this out of a test case where it was being developed to good effect and generalizes it.
* Having tried a number of things like this, I think this balances concerns reasonably well.

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




More information about the All-commits mailing list