[all-commits] [llvm/llvm-project] 06e3ab: [MLIR][transform][python] Introduce abstractions f...

martin-luecke via All-commits all-commits at lists.llvm.org
Mon Jan 15 01:31:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06e3abcb54f339edc2ba757cfa947e024677b21e
      https://github.com/llvm/llvm-project/commit/06e3abcb54f339edc2ba757cfa947e024677b21e
  Author: martin-luecke <martin.luecke at ed.ac.uk>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M mlir/python/mlir/dialects/transform/extras/__init__.py
    M mlir/test/python/dialects/transform_extras.py

  Log Message:
  -----------
  [MLIR][transform][python] Introduce abstractions for handles to values and parameters (#77305)

In addition to the existing `OpHandle` which provides an abstraction to
emit transform ops targeting operations this introduces a similar
concept for _values_ and _parameters_ in form of `ValueHandle` and
`ParamHandle`.

New core transform abstractions:
- `constant_param`
- `OpHandle.get_result`
- `OpHandle.print`
- `ValueHandle.get_defining_op`




More information about the All-commits mailing list