[all-commits] [llvm/llvm-project] fe7bf4: [MLIR][Transform] apply_registered_pass op's optio...

Rolf Morel via All-commits all-commits at lists.llvm.org
Wed Jun 11 09:34:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe7bf4b90b1a835418bddd2b2aa63b4977a9f6d2
      https://github.com/llvm/llvm-project/commit/fe7bf4b90b1a835418bddd2b2aa63b4977a9f6d2
  Author: Rolf Morel <854835+rolfmorel at users.noreply.github.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Transform/IR/TransformAttrs.h
    M mlir/include/mlir/Dialect/Transform/IR/TransformAttrs.td
    M mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td
    M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
    M mlir/lib/Dialect/Transform/IR/TransformDialect.cpp
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
    M mlir/python/mlir/dialects/transform/__init__.py
    M mlir/test/Dialect/Transform/test-pass-application.mlir
    M mlir/test/python/dialects/transform.py

  Log Message:
  -----------
  [MLIR][Transform] apply_registered_pass op's options as a dict (#143159)

Improve ApplyRegisteredPassOp's support for taking options by taking
them as a dict (vs a list of string-valued key-value pairs).

Values of options are provided as either static attributes or as params
(which pass in attributes at interpreter runtime). In either case, the
keys and value attributes are converted to strings and a single
options-string, in the format used on the commandline, is constructed to
pass to the `addToPipeline`-pass API.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list