[all-commits] [llvm/llvm-project] 440d6d: [MLIR][Python] Add bindings for PDL constraint fun...

Twice via All-commits all-commits at lists.llvm.org
Wed Sep 24 23:38:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 440d6d0f7867dac1c19d2020b7b35b6201d83855
      https://github.com/llvm/llvm-project/commit/440d6d0f7867dac1c19d2020b7b35b6201d83855
  Author: Twice <twice at apache.org>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

  Changed paths:
    M mlir/include/mlir-c/Rewrite.h
    M mlir/lib/Bindings/Python/Rewrite.cpp
    M mlir/lib/CAPI/Transforms/Rewrite.cpp
    M mlir/test/python/integration/dialects/pdl.py

  Log Message:
  -----------
  [MLIR][Python] Add bindings for PDL constraint function registering (#160520)

This is a follow-up to #159926.

That PR (#159926) exposed native rewrite function registration in PDL
through the C API and Python, enabling use with
`pdl.apply_native_rewrite`.

In this PR, we add support for native constraint functions in PDL via
`pdl.apply_native_constraint`, further completing the PDL 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