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

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Tue May 20 22:44:34 PDT 2025


  Branch: refs/heads/users/krzysz00/prop-constraint
  Home:   https://github.com/llvm/llvm-project
  Commit: 791159b1f55a9cb968924558e6094bddac4ff4d2
      https://github.com/llvm/llvm-project/commit/791159b1f55a9cb968924558e6094bddac4ff4d2
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-05-20 (Tue, 20 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

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