[all-commits] [llvm/llvm-project] a236dc: [mlir][NFC] Make Property a subclass of PropConstr...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Fri May 30 10:02:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a236dc63bf467edeae07c96a9157cf57570fb5ba
      https://github.com/llvm/llvm-project/commit/a236dc63bf467edeae07c96a9157cf57570fb5ba
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M mlir/docs/DeclarativeRewrites.md
    M mlir/docs/DefiningDialects/Operations.md
    M mlir/include/mlir/IR/Constraints.td
    M mlir/include/mlir/IR/Properties.td
    M mlir/include/mlir/TableGen/Constraint.h
    M mlir/lib/TableGen/Constraint.cpp

  Log Message:
  -----------
  [mlir][NFC] Make Property a subclass of PropConstraint (#140848)

In preparation for allowing non-attribute properties in the declaritive
rewrite pattern system, make `Property` a subclass of `PropConstraint`
in tablegen and add a CK_Prop to the Constraint class for tablegen.

Like `TypeConstraint` but unlike other constraints, a `PropConstraint`
has an additional field - the C++ interface type of the property being
constraint (if it's known).



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