[all-commits] [llvm/llvm-project] db7888: [MLIR][Transform] Introduce `transform.tune.knob` ...

Rolf Morel via All-commits all-commits at lists.llvm.org
Tue Jul 8 03:00:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db7888ca9aef6c203b363bbb395549b4e6cfa9d4
      https://github.com/llvm/llvm-project/commit/db7888ca9aef6c203b363bbb395549b4e6cfa9d4
  Author: Rolf Morel <rolf.morel at intel.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/CMakeLists.txt
    A mlir/include/mlir/Dialect/Transform/TuneExtension/CMakeLists.txt
    A mlir/include/mlir/Dialect/Transform/TuneExtension/TuneExtension.h
    A mlir/include/mlir/Dialect/Transform/TuneExtension/TuneExtensionOps.h
    A mlir/include/mlir/Dialect/Transform/TuneExtension/TuneExtensionOps.td
    M mlir/include/mlir/InitAllExtensions.h
    M mlir/lib/Dialect/Transform/CMakeLists.txt
    A mlir/lib/Dialect/Transform/TuneExtension/CMakeLists.txt
    A mlir/lib/Dialect/Transform/TuneExtension/TuneExtension.cpp
    A mlir/lib/Dialect/Transform/TuneExtension/TuneExtensionOps.cpp
    M mlir/python/CMakeLists.txt
    A mlir/python/mlir/dialects/TransformTuneExtensionOps.td
    A mlir/python/mlir/dialects/transform/tune.py
    A mlir/test/Dialect/Transform/test-tune-extension-invalid.mlir
    A mlir/test/Dialect/Transform/test-tune-extension.mlir
    A mlir/test/python/dialects/transform_tune_ext.py

  Log Message:
  -----------
  [MLIR][Transform] Introduce `transform.tune.knob` op (#146732)

A new transform op to represent that an attribute is to be chosen from a
set of alternatives and that this choice is made available as a
`!transform.param`. When a `selected` argument is provided, the op's
`apply()` semantics is that of just making this selected attribute
available as the result. When `selected` is not provided, `apply()`
complains that nothing has resolved the non-determinism that the op is
representing.



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