[all-commits] [llvm/llvm-project] 04736c: [mlir][SCF] Use `transform.get_parent_op` instead ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Oct 31 02:36:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04736c7f7ae97bf9dc0d7ebaefe80990d5c17d65
      https://github.com/llvm/llvm-project/commit/04736c7f7ae97bf9dc0d7ebaefe80990d5c17d65
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
    M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
    M mlir/python/mlir/dialects/transform/__init__.py
    M mlir/python/mlir/dialects/transform/loop.py
    M mlir/test/Dialect/SCF/transform-ops-invalid.mlir
    M mlir/test/Dialect/SCF/transform-ops.mlir
    M mlir/test/Dialect/Transform/test-interpreter.mlir
    M mlir/test/python/dialects/transform.py
    M mlir/test/python/dialects/transform_loop_ext.py

  Log Message:
  -----------
  [mlir][SCF] Use `transform.get_parent_op` instead of `transform.loop.get_parent_for` (#70757)

Add a new attribute to `get_parent_op` to get the n-th parent. Remove
`transform.loop.get_parent_for`, which is no longer needed.




More information about the All-commits mailing list